diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-08-15 03:40:49 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-08-15 03:40:49 +0000 |
commit | bf030d7515b3e2ddf0b3c98734fc7cb3ad819de1 (patch) | |
tree | e8f0027f4b3912bde7f20891d5060e1c852eeb63 | |
parent | cdcea87381a6ff1711d039dec46ec01a919acb8e (diff) |
Make test more precise.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79074 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Sema/c89-2.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Sema/c89-2.c b/test/Sema/c89-2.c index 723bd7c18d..3b546404a9 100644 --- a/test/Sema/c89-2.c +++ b/test/Sema/c89-2.c @@ -1,7 +1,5 @@ -/* RUN: not clang-cc %s -std=c89 -pedantic-errors +/* RUN: clang-cc %s -std=c89 -pedantic-errors -verify */ -/* We can't put expected-warning lines on #if lines. */ - -#if 1LL /* expected-warning {{long long}} */ +#if 1LL /* expected-error {{long long}} */ #endif |