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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
access6.C
blob
59d92975b9577848208ab3db6712a425be23fb42
1
// { dg-do assemble }
2
3
template <int I>
4
struct S {
5
void g();
6
};
7
8
class C {
9
static const int i = 3; // { dg-bogus "" } private
10
public:
11
S<C::i>* f(); // { dg-bogus "" } redeclared
12
};
13
14
S<C::i>* C::f() { // { dg-bogus "" } private
15
return 0;
16
}
17