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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
udlit-raw-op-string-neg.C
blob
be68333f509ac24d8962e998a9928f51d37afb5e
1
// { dg-do compile { target c++11 } }
2
3
// Make sure handing a string to a raw literal generates a sensible error message.
4
5
int operator"" _embedraw(const char*)
6
{ return 41; }
7
8
int k = "Boo!"_embedraw; // { dg-error "unable to find string literal operator" }