Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / utf-dflt2.c
blob5e38b09c9b6e23e6c983f67da08280a13f3f9c4a
1 /* If not gnu99, the u8 prefix should be parsed as separate tokens. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu89" } */
5 const void *s0 = u8"a"; /* { dg-error "undeclared" "undeclared" } */
6 /* { dg-error "expected ',' or ';'" "expected" { target *-*-* } .-1 } */
8 #define u8 "a"
10 const void *s1 = u8"a";
12 int main () {}