1 /* { dg-do compile } */
2 /* { dg-final { scan-assembler-not {foo[1-9]\.[0-9]} } } */
3
4 /* Check that we don't get .0 suffixes on static variables when not using
5 intermodule analysis. */
6
7 static int foo1;
8 static int foo2 = 1;
9
foo5(void)10 static void foo5(void) { }
11 static void foo6(void);
foo6(void)12 static void foo6(void) { }
13 static void foo7(void);
foo7(void)14 void foo7(void) { }
15
foo9(void)16 void foo9(void)
17 {
18 foo1 = 2;
19 foo2 = 3;
20 foo5();
21 foo6();
22 foo7();
23 }
24