]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/constexpr-ice9.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ice9.C
CommitLineData
4fd602a1
PC
1// PR c++/58607
2// { dg-do compile { target c++11 } }
3
4struct A
5{
6 constexpr A() { i; } // { dg-error "declared|empty body" }
7};
This page took 4.546258 seconds and 5 git commands to generate.