OSDN Git Service

* gcc.dg/vect/vect-116.c: Add vect_int target requirement.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / intermod-1.c
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
10 static void foo5(void) {  }
11 static void foo6(void);
12 static void foo6(void) { }
13 static void foo7(void);
14 void foo7(void) { }
15
16 void foo9(void) 
17 {
18   foo1 = 2;
19   foo2 = 3;
20   foo5();
21   foo6();
22   foo7();
23 }