blob: 71eb559a24c5607df63f2df7bd578ad7bb3c247f [file] [log] [blame]
// { dg-do compile { target c++11 } }
template <class T> struct A
{
T t;
constexpr A() { } // { dg-error "::t" "" { target c++17_down } }
};
int main()
{
constexpr A<int> a; // { dg-error "A()" }
}