Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr88046_0.C

raw
1 // { dg-lto-do link }
2 // { dg-lto-options { { -O2 -fPIC -flto } } }
3 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
4 // { dg-require-effective-target shared }
5 // { dg-require-effective-target fpic }
6 // { dg-extra-ld-options "-shared -g" }
7
8 class a {};
9 class b : virtual a {
10 public:
11 void operator<<(bool);
12 };
13 void c() try {
14 b d;
15 d << "";
16 } catch (int) {
17 }