aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/2008-01-28-PragmaMark.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2008-01-28-PragmaMark.c')
-rw-r--r--test/CodeGen/2008-01-28-PragmaMark.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/2008-01-28-PragmaMark.c b/test/CodeGen/2008-01-28-PragmaMark.c
new file mode 100644
index 000000000000..399af958fcf1
--- /dev/null
+++ b/test/CodeGen/2008-01-28-PragmaMark.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -Werror -emit-llvm %s -o /dev/null
+#pragma mark LLVM's world
+#ifdef DO_ERROR
+#error LLVM's world
+#endif
+int i;