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++.pt/] [conv2.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
template<class T>
class A {
public:
operator const T*() const;
const T* cast() const;
};
template<class T>
const T* A<T>::cast() const {
return operator const T*();
}
template class A<char>;