]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/constexpr-ice11.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ice11.C
CommitLineData
f1ee5eaf
PC
1// PR c++/58610
2// { dg-do compile { target c++11 } }
3
4struct A
5{
6 template<typename> A();
7};
8
9constexpr A a; // { dg-error "literal|matching" }
This page took 4.352635 seconds and 5 git commands to generate.