* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / non-lazy-ptr-test.c
blob10cce470ab3cccb0306c0acd8ed353ffef052ae9
1 /* { dg-do compile { target powerpc*-apple-darwin* } } */
2 /* { dg-options "-S" } */
4 typedef void PF (void);
6 static void f(void) {
9 void f1(void) {
12 extern void f2(void) {
15 static void f3(void);
17 void pe(void)
21 PF* g (void) { f(); return f; }
22 PF* x (void) { return f1; }
23 PF* y (void) { f2(); return f2; }
24 PF* z (void) { return f3; }
25 PF* w (void) { pe(); return pe; }
27 int main()
29 (*g())();
30 (*x())();
31 (*y())();
32 (*z())();
33 (*w())();
34 return 0;
37 void f3(void) {
40 /* { dg-final { scan-assembler-not "non_lazy_ptr" } } */