Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ice9.C
blob50de3720b26fc63c9bcddc32f57a64cc0c5532dd
1 // PR c++/58607
2 // { dg-do compile { target c++11 } }
4 struct A
6   constexpr A() { i; }  // { dg-error "declared|empty body" }
7 };