Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.dg / ucnid-9.c
blob6af6d7665f4ca38e4e47fcb21b242c5ce1304ca2
1 /* Test __func__ with extended identifiers and character set
2 conversions. */
3 /* { dg-do run } */
4 /* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "*" } { "" } } */
5 /* { dg-skip-if "" { ! ucn } { "*" } { "" } } */
6 /* { dg-options "-std=c99 -fexec-charset=ISO-8859-1 -g" } */
7 /* { dg-require-iconv "ISO-8859-1" } */
9 extern int strcmp (const char *, const char *);
10 extern void abort (void);
11 extern void exit (int);
13 void
14 \u00e9 (void)
16 if (strcmp (__func__, "\u00e9") != 0)
17 abort ();
20 int
21 main (void)
23 \u00e9 ();
24 exit (0);