summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/error32.C
blob: be3c3a084525a9e73420188751a5d9c033d4f9bc (plain)
1
2
3
4
5
6
7
8
// PR c++/33843

struct A {};

void foo(A* p())
{
  p->A::~A(); // { dg-error "A::~A" }
}