blob: 7aa80e53637741dbdd686686c030015d044a2c90 (
plain)
1
2
3
4
5
6
7
8
|
// { dg-do compile { target c++11 } }
void
foo()
{
float x = operator"" _F(); // { dg-error "was not declared in this scope" }
float y = 0_F; // { dg-error "unable to find numeric literal operator" }
}
|