summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/rtti1.C
blob: f17d88aad264ab0567d1ed8008aef75077f7f8a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Test that we don't emit the type_info for a polymorphic class other than
// with the vtable.

struct A {
  virtual ~A();
};

void f ()
{
  throw A();
}

// { dg-final { scan-assembler-dem-not {\ntypeinfo for A[: \t\n]} } }