diff options
Diffstat (limited to 'clang/test/Lexer/hexfloat.cpp')
-rw-r--r-- | clang/test/Lexer/hexfloat.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/Lexer/hexfloat.cpp b/clang/test/Lexer/hexfloat.cpp index a3b230e78f1..493b64e6274 100644 --- a/clang/test/Lexer/hexfloat.cpp +++ b/clang/test/Lexer/hexfloat.cpp @@ -1,5 +1,6 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -pedantic -// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify +// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s +// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s +// XFAIL: * #ifndef __GXX_EXPERIMENTAL_CXX0X__ float f = 0x1p+1; // expected-warning {{incompatible with C++0x}} |