URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [special.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Make sure that forward declarations of specializations work...
template <class T> class A { };
template <> class A<int>;
A<int> a; // { dg-error "" } incomplete type
template <> class A<int> { };