Debian Codegraph @

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

raw
1 // PR c++/28743
2
3 template<int I> struct A
4 {
5 template<typename T> void foo();
6 };
7
8 template<int I> template<typename T> void A<0>::foo() {} // { dg-error "" }