URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [parse/] [fused-params1.C] - Rev 12
Compare with Previous | Blame | View Log
// PR c++/8785
// Origin: Alexander Zvyagin <Alexander.Zviagine@cern.ch>
// { dg-do compile }
template <int N,typename T> struct A
{ // { dg-error "" }
typedef T X;
template <int M> void foo (const A<M,X>&);
};
template <int N,int M,typename T>
void A<N,T>::foo (const A<M,X>&) {} // { dg-error "" }