Benjamin Kramer | 0b495cd | 2010-06-25 12:48:07 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s |
Douglas Gregor | 4671730 | 2011-10-12 18:51:02 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -pedantic %s |
3 | float f = 0x1p+1; // expected-warning{{hexadecimal floating constants are a C99 feature}} | ||||
Sean Hunt | 8c72340 | 2010-01-10 23:37:56 +0000 | [diff] [blame] | 4 |