summaryrefslogtreecommitdiff
path: root/test/Refactor/tool-common-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Refactor/tool-common-options.c')
-rw-r--r--test/Refactor/tool-common-options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Refactor/tool-common-options.c b/test/Refactor/tool-common-options.c
new file mode 100644
index 000000000000..b41c8c701e8c
--- /dev/null
+++ b/test/Refactor/tool-common-options.c
@@ -0,0 +1,3 @@
+// RUN: not clang-refactor 2>&1 | FileCheck --check-prefix=MISSING_ACTION %s
+// MISSING_ACTION: error: no refactoring action given
+// MISSING_ACTION-NEXT: note: the following actions are supported: