[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081109-1_0.C
blob711533600ed327e251dea5ec92353b4d4f59b18a
1 // { dg-lto-do link }
2 // { dg-require-effective-target fpic }
3 // { dg-lto-options {{-fPIC -flto -flto-partition=1to1}} }
4 // { dg-extra-ld-options "-fPIC -flto -flto-partition=1to1 -r -nostdlib -fno-exceptions" }
5 void func(); class Foo { };
6 void bar() { try { func(); } catch (Foo) { } };