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