hexfloat.cpp revision ac0f5e5ed0a45ac96a5958e5832e4bdb45734324
1// RUN: %clang_cc1 -fsyntax-only -verify -pedantic 2// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify 3 4#ifndef __GXX_EXPERIMENTAL_CXX0X__ 5float f = 0x1p+1; // expected-warning {{incompatible with C++0x}} 6#else 7float f = 0x1p+1; // expected-warning {{invalid suffix}} 8#endif 9