PR c++/85553
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-ice11.C
blob3e32bf6407b6be79a9732c9ee6a2f598dd5c8591
1 // PR c++/58610
2 // { dg-do compile { target c++11 } }
4 struct A
6   template<typename> A();
7 };
9 constexpr A a;  // { dg-error "literal|matching" }