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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
udlit-nonempty-str-neg.C
blob
ddaa1aa6c3e24e0b86b944bcda16a60c1cf50c1d
1
// { dg-do compile { target c++11 } }
2
3
// Test user-defined literals.
4
// Test error on non-empty string after 'operator' keyword.
5
6
double operator"hi" _badword(long double); // { dg-error "expected empty string after" }