]> granicus.if.org Git - clang/commitdiff
update this testcase.
authorChris Lattner <sabre@nondot.org>
Fri, 25 Jul 2008 18:42:46 +0000 (18:42 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Jul 2008 18:42:46 +0000 (18:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54037 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/c90.c

index 84d30467b94995f3d2b6fae84fdfab34221f8eb7..4bbddaf38b4d43d1a7d9d418f65b18dc9d6ed8e9 100644 (file)
@@ -1,5 +1,6 @@
-// RUN: clang -std=c90 -fsyntax-only %s -verify
+/* RUN: clang -std=c90 -fsyntax-only %s -verify -pedantic-errors
+ */
 
 enum { cast_hex = (long) (
-      0x0p-1   /* expected-error {{invalid suffix 'p' on integer constant}} */
+      0x0p-1   /* expected-error {{hexadecimal floating constants are a C99 feature}} */
      ) };