URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [typedef31.C] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
// Origin: PR c++/43558
// { dg-do compile }
class Compressible;
template <class T, class EngineTag> class Engine;
template <class T>
class Engine<T, Compressible>
{
public:
typedef T Element_t;
//Element_t read(int);
T read(int);
};
template <class T>
T Engine<T, Compressible>::read(int)
{
}
Engine<int, Compressible> x;
Go to most recent revision | Compare with Previous | Blame | View Log