summaryrefslogtreecommitdiffstats
path: root/test/Index/c-index-unsupported-warning-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Index/c-index-unsupported-warning-test.c')
-rw-r--r--test/Index/c-index-unsupported-warning-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Index/c-index-unsupported-warning-test.c b/test/Index/c-index-unsupported-warning-test.c
new file mode 100644
index 0000000..82ed063
--- /dev/null
+++ b/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