blob: 0b34ff91c0cb9365cdf8fc1ed9f2166d55479d02 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A { ~A() = delete; }; // { dg-message "declared" }
int main()
{
typedef const A cA[2];
cA{}; // { dg-error "deleted" }
}