PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / ucnid-9.c
blobac61c92117faccc54d1f4b06303e6660b76cecb9
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);