OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d257043e46affbd0e4301ec5257a541f20c740f2
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb3.C
1
// Build don't link:
2
#include <complex.h>
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;
10
};
11
template class Vec<complex<double> >;