Fix all tests that fail with -sanitize=return.
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr38104.C
blob6523a5e171bdcb144ec5df8b83edb91bfca683cb
1 // PR tree-optimization/38104
2 // { dg-do compile }
3 // { dg-options "-O3" }
5 struct S { int foo; };
7 void f0 ();
9 void
10 f1 (struct S s)
12   f0 ();
15 void
16 f2 ()
18   f1 (*(struct S *) (0));