summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/c-index-unsupported-warning-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/c-index-unsupported-warning-test.c')
-rw-r--r--clang/test/Index/c-index-unsupported-warning-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Index/c-index-unsupported-warning-test.c b/clang/test/Index/c-index-unsupported-warning-test.c
new file mode 100644
index 00000000000..82ed06359d7
--- /dev/null
+++ b/clang/test/Index/c-index-unsupported-warning-test.c
@@ -0,0 +1,3 @@
+// RUN: c-index-test -code-completion-at=%s:1:1 -Wunknown-foo-bar-warning -Werror %s
+
+void f();
OpenPOWER on IntegriCloud