Debian Codegraph @

gcc/testsuite/gcc.dg/special/weak-2.c

raw
1 /* { dg-do run } */
2 /* { dg-require-weak "" } */
3 /* { dg-additional-sources "weak-2a.c weak-2b.c" } */
4
5 #include <stdlib.h>
6
7 extern int foo(void);
8
9 int main(void) {
10
11 if (foo())
12 exit(0);
13 else
14 abort();
15 }