* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git] / gcc / testsuite / g++.dg / lto / pr48354-1_0.C
blobf1000657b4a101b26e52e7a18fdf70144e38aee9
1 // { dg-lto-do link }
2 // { dg-lto-options { { -g -flto } } }
3 // { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" }
5 template<typename T> struct Identity { typedef T type; };
6 struct S {
7     typedef void (S::*FP)();
8     FP fp;
9 };
10 void g();
11 void f() {
12     typedef Identity<S>::type Dummy;
13     S s;
14     g();