Add test to make sure that #pragma mark/error doesn't error if there are
authorBill Wendling <isanbard@gmail.com>
Tue, 29 Jan 2008 00:41:29 +0000 (00:41 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 29 Jan 2008 00:41:29 +0000 (00:41 +0000)
unbalanced quotes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46476 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2008-01-28-PragmaMark.c [new file with mode: 0644]

diff --git a/test/CFrontend/2008-01-28-PragmaMark.c b/test/CFrontend/2008-01-28-PragmaMark.c
new file mode 100644 (file)
index 0000000..0b3ac17
--- /dev/null
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc -Werror -c %s -o /dev/null
+#pragma mark LLVM's world
+#ifdef DO_ERROR
+#error LLVM's world
+#endif
+int i;