2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / conv2.C
blobd668a54516177957449383c31223cd2afb14642f
1 // { dg-do assemble  }
3 template<class T>
4 class A {
5 public:
6   operator const T*() const;
7   const T* cast() const;
8 };
10 template<class T>
11 const T* A<T>::cast() const {
12   return operator const T*();
15 template class A<char>;