Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git] / gcc / testsuite / gcc.dg / intermod-1.c
blob9f8d19deb6a3784aabcfa686af739b706735089c
1 /* { dg-do compile } */
2 /* { dg-final { scan-assembler-not {foo[1-9]\.[0-9]} } } */
4 /* Check that we don't get .0 suffixes on static variables when not using
5 intermodule analysis. */
7 static int foo1;
8 static int foo2 = 1;
10 static void foo5(void) { }
11 static void foo6(void);
12 static void foo6(void) { }
13 static void foo7(void);
14 void foo7(void) { }
16 void foo9(void)
18 foo1 = 2;
19 foo2 = 3;
20 foo5();
21 foo6();
22 foo7();