summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20081109-1_0.C
blob: 474ceba79c97ccaaa070e114993550a450bc13f3 (plain)
1
2
3
4
5
// { dg-lto-do link }
// { dg-lto-options {{-fPIC -flto -flto-partition=1to1}} }
// { dg-extra-ld-options "-fPIC -flto -flto-partition=1to1 -r -nostdlib -fno-exceptions" }
void func(); class Foo { };
void bar() { try { func(); } catch (Foo) { } };