| 1 |
// In C++0x, the u8 prefix should be parsed as separate tokens. |
| 2 |
// { dg-do compile } |
| 3 |
// { dg-options "-std=c++98" } |
| 4 |
|
| 5 |
const void *s0 = u8"a"; // { dg-error "was not declared" } |
| 6 |
|
| 7 |
#define u8 "a" |
| 8 |
|
| 9 |
const void *s1 = u8"a"; |
| 10 |
|
| 11 |
int main () {} |