summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/dtor7.C
blob: a8095126667f8836ca65ac2fc24aab1cfc1244fe (plain)
1
2
3
4
// PR c++/25856

struct A; // { dg-error "forward" } 
A::~A() {} // { dg-error "incomplete" }