summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/dtor4.C
blob: 7aed80a69bdd98ed53ba3fbba8f802877424eb81 (plain)
1
2
3
4
5
6
7
8
9
10
typedef int C;
typedef double D;

void
f ()
{
  C o;

  o.D::~C (); // { dg-error "" }
}