diff options
Diffstat (limited to 'test/Lexer/hexfloat.cpp')
-rw-r--r-- | test/Lexer/hexfloat.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Lexer/hexfloat.cpp b/test/Lexer/hexfloat.cpp index a3b230e78f16..493b64e62740 100644 --- a/test/Lexer/hexfloat.cpp +++ b/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}} |