blob: 770bb9c305a631520191995fc2ed1710ae1f0263 [file] [log] [blame]
// PR c++/66542
// { dg-do compile { target c++11 } }
struct A
{
A() {}
~A() = delete; // { dg-message "declared here" }
};
static A a; // { dg-error "deleted" }