summaryrefslogtreecommitdiffstats
path: root/test/Lexer/hexfloat.cpp
blob: 23daa49ad2109c55682c05fd4733e775c22fb11e (plain)
1
2
3
4
// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify -pedantic %s
float f = 0x1p+1; // expected-warning{{hexadecimal floating constants are a C99 feature}}