LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-func-3.c
blobf8a06a0e750952aeaea1d21bb68edf1821b41b84
1 /* Test for C99 __func__: not merging with string literals. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do run } */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
6 extern void abort (void);
7 extern void exit (int);
9 int
10 main (void)
12 if ("main" == __func__)
13 abort ();
14 else
15 exit (0);