blob: 0a7d308707cbeaf3cc0027c1dd9dcca1d84e4219 [file] [log] [blame]
// PR c++/85067
// { dg-do compile { target c++11 } }
template<int> struct A
{
A();
A(volatile A&) = default; // { dg-error "defaulted" }
};
struct B
{
A<0> a;
};
B b;