summaryrefslogtreecommitdiffstats
path: root/test/Misc/diag-checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/diag-checker.c')
-rw-r--r--test/Misc/diag-checker.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Misc/diag-checker.c b/test/Misc/diag-checker.c
new file mode 100644
index 0000000..4733ee1
--- /dev/null
+++ b/test/Misc/diag-checker.c
@@ -0,0 +1,5 @@
+// RUN: clang-cc -fsyntax-only -verify %s
+
+#include <stdio.h>
+
+void foo(FILE *FP) {}
OpenPOWER on IntegriCloud