[cfe-commits] r54037 - /cfe/trunk/test/Lexer/c90.c
Chris Lattner
sabre at nondot.org
Fri Jul 25 11:42:46 PDT 2008
Author: lattner
Date: Fri Jul 25 13:42:46 2008
New Revision: 54037
URL: http://llvm.org/viewvc/llvm-project?rev=54037&view=rev
Log:
update this testcase.
Modified:
cfe/trunk/test/Lexer/c90.c
Modified: cfe/trunk/test/Lexer/c90.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/c90.c?rev=54037&r1=54036&r2=54037&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/c90.c (original)
+++ cfe/trunk/test/Lexer/c90.c Fri Jul 25 13:42:46 2008
@@ -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}} */
) };
More information about the cfe-commits
mailing list