Debian Codegraph @

gcc/testsuite/g++.dg/rtti/anon-ns1.C

raw
1 // PR c++/49440
2 // The typeinfo name for A should start with * so we compare
3 // it by address rather than contents.
4
5 // { dg-final { scan-assembler "\"\*N\[^\"\]+1AE" } }
6
7 namespace
8 {
9 class A { };
10 }
11
12 void f()
13 {
14 throw A();
15 }