aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr85008.C
blob: a9e515b57eca7849444a3dfbcf3add9b16996d61 (plain)
1
2
3
4
5
6
7
8
// PR c++/85008 ICE concerning dtor clones

void a() {
  struct b {
    ~b();
    int r [!!&b::~b]; // { dg-error "address of " }
  };
}