]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/c99-func-3.c
c-common.c (scanf_flag_specs): Add flags ' and I.
[gcc.git] / gcc / testsuite / gcc.dg / c99-func-3.c
1 /* Test for C99 __func__: not merging with string literals. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do run { xfail *-*-* } } */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
5
6 extern void abort (void);
7 extern void exit (int);
8
9 int
10 main (void)
11 {
12 if ("main" == __func__)
13 abort ();
14 else
15 exit (0);
16 }
This page took 0.036587 seconds and 5 git commands to generate.