| 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" } |