summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr34003-1.c
blob: ff97fe6d23e6afdf69240bf2a6c5054d5caf3334 (plain)
1
2
3
4
5
6
7
8
/* PR bootstrap/34003 */
/* { dg-do link } */
/* { dg-options "-O0" } */
/* { dg-additional-sources "pr34003-2.c" } */

extern void foo (void);
int bar (void) { foo (); return 1; }
extern void foo (void);