[cfe-commits] r79074 - /cfe/trunk/test/Sema/c89-2.c
Eli Friedman
eli.friedman at gmail.com
Fri Aug 14 20:40:49 PDT 2009
Author: efriedma
Date: Fri Aug 14 22:40:49 2009
New Revision: 79074
URL: http://llvm.org/viewvc/llvm-project?rev=79074&view=rev
Log:
Make test more precise.
Modified:
cfe/trunk/test/Sema/c89-2.c
Modified: cfe/trunk/test/Sema/c89-2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/c89-2.c?rev=79074&r1=79073&r2=79074&view=diff
==============================================================================
--- cfe/trunk/test/Sema/c89-2.c (original)
+++ cfe/trunk/test/Sema/c89-2.c Fri Aug 14 22:40:49 2009
@@ -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
More information about the cfe-commits
mailing list