summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-25 18:42:46 +0000
committerChris Lattner <sabre@nondot.org>2008-07-25 18:42:46 +0000
commit31614aeb0a40b09ec2b708fed8dbc463c89131f2 (patch)
tree018c1aeb70169d0bb3b3b11bfe8998d3cce0e27e /clang/test/Lexer
parentc481f72857ded28e7e4b06e0ecc6ea61d5a07aeb (diff)
downloadbcm5719-llvm-31614aeb0a40b09ec2b708fed8dbc463c89131f2.tar.gz
bcm5719-llvm-31614aeb0a40b09ec2b708fed8dbc463c89131f2.zip
update this testcase.
llvm-svn: 54037
Diffstat (limited to 'clang/test/Lexer')
-rw-r--r--clang/test/Lexer/c90.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/Lexer/c90.c b/clang/test/Lexer/c90.c
index 84d30467b94..4bbddaf38b4 100644
--- a/clang/test/Lexer/c90.c
+++ b/clang/test/Lexer/c90.c
@@ -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}} */
) };
OpenPOWER on IntegriCloud