PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / abi / rtti3.C
blob0cc7d3e79d0a7325449cf925d9f8d74198f9d2e9
1 // PR 20647, we must emit the typeinfo's string as weak, but not the
2 // necessarily the type info object
4 // { dg-require-weak "" }
5 // { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } }
6 // { dg-final { scan-assembler ".weak\[ \t\]_?_ZTSPP1A" { target { ! { *-*-darwin* hppa*-*-hpux* } } } } }
7 // { dg-final { scan-assembler-not ".weak\[ \t\]_?_ZTIPP1A" { target { ! { *-*-darwin* } } } } }
8 // { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZTSPP1A" { target { *-*-darwin* } } } }
9 // { dg-final { scan-assembler-not ".weak_definition\[ \t\]_?_ZTIPP1A" { target { *-*-darwin* } } } }
11 struct A;
13 void Foo ()
15   throw (A **)0;