aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/nontype18.C
blob: cbe0a1b5a0d7f29ea9a600e73684a04c70bbf637 (plain)
1
2
3
4
5
6
7
8
// PR c++/28743

template<int I> struct A
{
    template<typename T> void foo();
};

template<int I> template<typename T> void A<0>::foo() {} // { dg-error "template parameter" }