summaryrefslogtreecommitdiff
path: root/test/FrontendC/2008-01-28-PragmaMark.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2008-01-28-PragmaMark.c')
-rw-r--r--test/FrontendC/2008-01-28-PragmaMark.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FrontendC/2008-01-28-PragmaMark.c b/test/FrontendC/2008-01-28-PragmaMark.c
new file mode 100644
index 000000000000..0b3ac17df32a
--- /dev/null
+++ b/test/FrontendC/2008-01-28-PragmaMark.c
@@ -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;