[llvm-commits] [llvm] r46476 - /llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c
Bill Wendling
isanbard at gmail.com
Mon Jan 28 16:41:29 PST 2008
Author: void
Date: Mon Jan 28 18:41:29 2008
New Revision: 46476
URL: http://llvm.org/viewvc/llvm-project?rev=46476&view=rev
Log:
Add test to make sure that #pragma mark/error doesn't error if there are
unbalanced quotes.
Added:
llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c
Added: llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c?rev=46476&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c (added)
+++ llvm/trunk/test/CFrontend/2008-01-28-PragmaMark.c Mon Jan 28 18:41:29 2008
@@ -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;
More information about the llvm-commits
mailing list