2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr51420.C
blobfc70d46cc90ed24ce4940faeaebcca0707972e74
1 // { dg-do compile { target c++11 } }
3 void
4 foo()
6   float x = operator"" _F();  //  { dg-error  "13:'operator\"\"_F' was not declared in this scope" }
7   float y = 0_F;  //  { dg-error  "unable to find numeric literal operator" }