2010-06-25 20:48:07 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
|
|
|
|
// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
|
|
|
|
// XFAIL: *
|
2010-01-11 07:37:56 +08:00
|
|
|
|
|
|
|
#ifndef __GXX_EXPERIMENTAL_CXX0X__
|
|
|
|
float f = 0x1p+1; // expected-warning {{incompatible with C++0x}}
|
|
|
|
#else
|
|
|
|
float f = 0x1p+1; // expected-warning {{invalid suffix}}
|
|
|
|
#endif
|