URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [ctor2.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Test for use of template parms in constructor name.
// Submitted by Jason Merrill <jason@cygnus.com>
template <class T>
struct A {
A<T>();
};
template <class T>
A<T>::A<T>() // { dg-error "constructor|qualified name" }
{
}