1 /* R is not applicable for character literals. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu99" } */
5 const int i0 = R'a'; /* { dg-error "undeclared" } */
6 /* { dg-error "expected ',' or ';'" "" { target *-*-* } 5 } */
7 const int i1 = uR'a'; /* { dg-error "undeclared" } */
8 /* { dg-error "expected ',' or ';'" "" { target *-*-* } 7 } */
9 const int i2 = UR'a'; /* { dg-error "undeclared" } */
10 /* { dg-error "expected ',' or ';'" "" { target *-*-* } 9 } */
11 const int i3 = u8R'a'; /* { dg-error "undeclared" } */
12 /* { dg-error "expected ',' or ';'" "" { target *-*-* } 11 } */
13 const int i4 = LR'a'; /* { dg-error "undeclared" } */
14 /* { dg-error "expected ',' or ';'" "" { target *-*-* } 13 } */
25 const int i8 = u8R'a';