Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-ice11.C

raw
1 // PR c++/58610
2 // { dg-do compile { target c++11 } }
3
4 struct A
5 {
6 template<typename> A();
7 };
8
9 constexpr A a; // { dg-error "literal|matching" }