]> granicus.if.org Git - clang/commitdiff
Make test more precise.
authorEli Friedman <eli.friedman@gmail.com>
Sat, 15 Aug 2009 03:40:49 +0000 (03:40 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 15 Aug 2009 03:40:49 +0000 (03:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79074 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/c89-2.c

index 723bd7c18d886e2016554f004c1a7cd964cec0d0..3b546404a98460bf2642c30d5274b958b45b4fb1 100644 (file)
@@ -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