From: Bill Wendling Date: Tue, 29 Jan 2008 00:41:29 +0000 (+0000) Subject: Add test to make sure that #pragma mark/error doesn't error if there are X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fcd06cdc7bbc540441cdb364f5f779524543c003;p=oota-llvm.git Add test to make sure that #pragma mark/error doesn't error if there are unbalanced quotes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46476 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2008-01-28-PragmaMark.c b/test/CFrontend/2008-01-28-PragmaMark.c new file mode 100644 index 00000000000..0b3ac17df32 --- /dev/null +++ b/test/CFrontend/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;