No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / g++.dg / template / local6.C
blob3472f59a7d70e1db2a0565fbb1ab120e0f6b4da5
1 template <class T> struct PCVector2
2 { // { dg-error "" }
3     template <class T2> PCVector2(const PCVector2<T> &cv) ;
5     PCVector2<T> operator- (const PCVector2<T> &ov) const 
6         { 
7           return PCVector2<T>(ov.xFIELD, ov.yFIELD); // { dg-error "" }
8         }
10     T xFIELD, yFIELD;
13 void findIntersection( PCVector2<double>& p0, PCVector2<double>& p1);
16 void findIntersection( PCVector2<double>& p0, PCVector2<double>& p1)
18     PCVector2<double> e = p1 - p0;      // { dg-error "" }