1 /* Test for builtin noreturn attributes when the visible declarations
2 are function-local. Modified from builtin-noret-1.c by Zack Weinberg
3 <zack@codesourcery.com>. */
4 /* { dg-options "-multiply_defined suppress" { target powerpc-*-darwin* } } */
6 /* { dg-require-weak "" } */
7 /* { dg-prune-output "recognized" } */
8 /* { dg-prune-output "ld: 0711-768 WARNING" } */
10 extern void tabort (void);
11 extern void texit (void);
12 extern void t_exit (void);
13 extern void t_Exit (void);
15 extern void link_failure (void);
21 extern void exit (int);
36 extern void abort (void);
44 extern void exit (int);
52 extern void _exit (int);
53 /* Some non-Unix libcs have _exit, and won't allow it to be re-defined,
60 /* Some non-Unix libcs might not have _exit. */
61 /* Some non-Unix libcs have _exit, and won't allow it to be re-defined,
67 extern void abort (void);
74 extern void _Exit (int);
75 /* Some libcs have _Exit, and won't allow it to be re-defined,
82 /* Some libcs might not have _Exit. */
83 /* Some libcs have _Exit, and won't allow it to be re-defined,
89 extern void abort (void);