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
fix
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
access6.C
1
// Build don't link:
2
3
template <int I>
4
struct S {
5
void g();
6
};
7
8
class C {
9
static const int i = 3; // gets bogus error - private - XFAIL *-*-*
10
public:
11
S<C::i>* f(); // gets bogus error - redeclared - XFAIL *-*-*
12
};
13
14
S<C::i>* C::f() { // gets bogus error - private - XFAIL *-*-*
15
return 0;
16
}
17