Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ctor.C
blob1d0fa479cbcdcf79b87f1c4170d140e9be1df216
1 // { dg-do compile { target c++11 } }
3 struct A
5   int i;
6   constexpr A() { }             // { dg-error "A::i" "" { target c++17_down } }
7 };