repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
testsuite: Require fpic support for pr116887.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend30.C
blob
055fc8d89ec74b1a8d060893ca57031bdc9d799c
1
// PR c++/14930
2
3
template<typename T> class Point;
4
5
template<> class Point<double> {
6
friend class Plane;
7
double v;
8
};
9
10
struct Plane {
11
double get(const Point<double>& p);
12
};
13
14
double Plane::get(const Point<double> &p) { return p.v; }
15