summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/rtti/anon-ns1.C
blob: e18be4300a30fbcd7df98111e104679f52bdb9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/49440
// The typeinfo name for A should start with * so we compare
// it by address rather than contents.

// { dg-final { scan-assembler "\"\*N\[^\"\]+1AE" } }

namespace
{
  class A { };
}

void f()
{
  throw A();
}