annotate gcc/testsuite/gcc.dg/attr-alias-5.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Verify diagnostics for aliases to strings containing extended
kono
parents:
diff changeset
2 identifiers or bad characters. */
kono
parents:
diff changeset
3 /* { dg-do compile } */
kono
parents:
diff changeset
4 /* { dg-options "-std=gnu99" } */
kono
parents:
diff changeset
5 /* { dg-require-alias "" } */
kono
parents:
diff changeset
6 /* { dg-require-ascii-locale "" } */
kono
parents:
diff changeset
7 /* { dg-skip-if "" { powerpc*-*-aix* } } */
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 void f0 (void) __attribute__((alias("\xa1"))); /* { dg-error "undefined symbol '\\\\241'" } */
kono
parents:
diff changeset
10 void f1 (void) __attribute__((alias("\u00e9"))); /* { dg-error "undefined symbol '\\\\U000000e9'" } */
kono
parents:
diff changeset
11 void f2 (void) __attribute__((alias("\uffff"))); /* { dg-error "undefined symbol '\\\\U0000ffff'" } */
kono
parents:
diff changeset
12 void f3 (void) __attribute__((alias("\U000fffff"))); /* { dg-error "undefined symbol '\\\\U000fffff'" } */
kono
parents:
diff changeset
13 void f4 (void) __attribute__((alias("\U00ffffff"))); /* { dg-error "undefined symbol '\\\\U00ffffff'" } */
kono
parents:
diff changeset
14 void f5 (void) __attribute__((alias("\U0fffffff"))); /* { dg-error "undefined symbol '\\\\U0fffffff'" } */