re PR c++/84691 (internal compiler error: in poplevel_class, at cp/name-lookup.c...
[official-gcc.git] / gcc / testsuite / g++.dg / pr85008.C
bloba9e515b57eca7849444a3dfbcf3add9b16996d61
1 // PR c++/85008 ICE concerning dtor clones
3 void a() {
4   struct b {
5     ~b();
6     int r [!!&b::~b]; // { dg-error "address of " }
7   };