summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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