forked from OSchip/llvm-project
4 lines
208 B
C++
4 lines
208 B
C++
|
// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
|
||
|
float a = 1.0h; // expected-error{{invalid suffix 'h' on floating constant}}
|
||
|
float b = 1.0H; // expected-error{{invalid suffix 'H' on floating constant}}
|