]> granicus.if.org Git - clang/commitdiff
testcase for PR3096
authorChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 06:19:48 +0000 (06:19 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2008 06:19:48 +0000 (06:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59794 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/unterminated.c [new file with mode: 0644]

diff --git a/test/Preprocessor/unterminated.c b/test/Preprocessor/unterminated.c
new file mode 100644 (file)
index 0000000..59bcae8
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: clang -E -verify %s
+// PR3096
+#ifdef FOO // expected-error {{unterminated conditional directive}}
+/* /* */
+