blob: a3b230e78f1616eebe38ef7b42767a70cdbcb3ca [file] [log] [blame]
Chris Lattnerac0f5e52010-05-20 23:33:51 +00001// RUN: %clang_cc1 -fsyntax-only -verify -pedantic
2// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify
Sean Hunt8c723402010-01-10 23:37:56 +00003
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