1 // R is not applicable for character literals.
3 // { dg-options "-std=gnu99" { target c } }
4 // { dg-options "-std=c++0x" { target c++ } }
6 const int i0
= R
'a'; // { dg-error "was not declared|undeclared" "undeclared" }
7 // { dg-error "expected ',' or ';'" "expected" { target c } .-1 }
8 const int i1
= uR
'a'; // { dg-error "was not declared|undeclared" "undeclared" }
9 // { dg-error "expected ',' or ';'" "expected" { target c } .-1 }
10 const int i2
= UR
'a'; // { dg-error "was not declared|undeclared" "undeclared" }
11 // { dg-error "expected ',' or ';'" "expected" { target c } .-1 }
12 const int i3
= u8R
'a'; // { dg-error "was not declared|undeclared" "undeclared" }
13 // { dg-error "expected ',' or ';'" "expected" { target c } .-1 }
14 const int i4
= LR
'a'; // { dg-error "was not declared|undeclared" "undeclared" }
15 // { dg-error "expected ',' or ';'" "expected" { target c } .-1 }
26 const int i8
= u8R
'a';