FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb3.C
blobccf6027102a6c829e489ae6c1d5575e033586ac2
1 // Build don't link:
2 #include <complex>
3 template<class T>
4 class Vec {
5 public:
6     Vec() { data = new T; }
7     Vec<T> split() { Vec<T> tmp; operator=(tmp); return tmp; }
8     void operator=(const Vec<T> &v) { data = new T; }
9     T *data;
11 template class Vec<std::complex<double> >;