testsuite: Require fpic support for pr116887.c
[official-gcc.git] / gcc / testsuite / g++.dg / template / friend30.C
blob055fc8d89ec74b1a8d060893ca57031bdc9d799c
1 // PR c++/14930
3 template<typename T> class Point;
5 template<> class Point<double> {
6   friend class Plane;
7   double v;
8 };
10 struct Plane {
11   double get(const Point<double>& p);
14 double Plane::get(const Point<double> &p) { return p.v; }