OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add another expr/decl ambiguity test
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
visibility4.C
1
// Build don't link:
2
// Special g++ Options: -w
3
// GROUPS passed visibility
4
template <class T>
5
class Feld {
6
public:
7
Feld(const Feld&) {}
8
};
9
10
class Polynom : private Feld<double> {
11
friend Polynom f(const Polynom&);
12
};
13
14
Polynom f(const Polynom& p) { return p; }