2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / utf-dflt2.c
blob022c081fdb7ca1d969a0b987eff1ed20e169a900
1 /* If not gnu99, the u8 prefix should be parsed as separate tokens. */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 const void *s0 = u8"a"; /* { dg-error "undeclared" "undeclared" } */
6 /* { dg-error "expected ',' or ';'" "expected" { target *-*-* } 5 } */
8 #define u8 "a"
10 const void *s1 = u8"a";
12 int main () {}