Debian Codegraph @

gcc/testsuite/g++.dg/template/crash91.C

raw
1 // PR c++/28293
2
3 template<int> void foo();
4
5 struct A
6 {
7 typedef void foo<0>(); // { dg-error "16:explicit template argument list not allowed" }
8 };