summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20041005-1.c
blob: b0a65117ec322b14947f851101b559aebaaa30a1 (plain)
1
2
3
4
5
6
/* This wrongly caused duplicate definitions of x in the assembler
   output.  */
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */

static int x = 1;
void f (void) { extern int x; }