repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr51420.C
blob
fc70d46cc90ed24ce4940faeaebcca0707972e74
1
// { dg-do compile { target c++11 } }
2
3
void
4
foo()
5
{
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" }
8
}