]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/abi/rtti3.C
Remove obsolete Tru64 UNIX V5.1B support
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / abi / rtti3.C
CommitLineData
8da875f3 1// PR 20647, we must emit the typeinfo's string as weak, but not the
2// necessarily the type info object
3
4// { dg-require-weak "" }
31cc34ee 5// { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } { "*" } { "" } }
126b6848 6// { dg-final { scan-assembler ".weak\[ \t\]_?_ZTSPP1A" { target { ! { *-*-darwin* } } } } }
7// { dg-final { scan-assembler-not ".weak\[ \t\]_?_ZTIPP1A" { target { ! { *-*-darwin* } } } } }
4e37c006 8// { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZTSPP1A" { target { *-*-darwin* } } } }
9// { dg-final { scan-assembler-not ".weak_definition\[ \t\]_?_ZTIPP1A" { target { *-*-darwin* } } } }
8da875f3 10
11struct A;
12
13void Foo ()
14{
15 throw (A **)0;
16}