blob: be68333f509ac24d8962e998a9928f51d37afb5e (
plain)
1
2
3
4
5
6
7
8
|
// { dg-do compile { target c++11 } }
// Make sure handing a string to a raw literal generates a sensible error message.
int operator"" _embedraw(const char*)
{ return 41; }
int k = "Boo!"_embedraw; // { dg-error "unable to find string literal operator" }
|