* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081120-2_0.C
blob8deae1bb6bab5e55a2eea3b3f41baba67c27d6a5
1 // { dg-lto-do link }
2 // { dg-lto-options {{-flto -r -nostdlib}} }
3 /* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
4 template < typename > struct Foo
6  inline void rdstate() {
7  }
8 };
10 extern template struct Foo<int>;
12 struct Bar:virtual public Foo<int>