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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
access10.C
blob
6db610c5010567407e934db597b551b1484f331f
1
// PRMS Id: 4839
2
// Bug: The initializer of a static member of a class has the same acess
3
// rights as a member function. g++ doesn't realize that.
4
// Build don't link:
5
6
class X
7
{
8
X (int);
9
static X foo;
10
public:
11
void dummy();
12
};
13
14
X X::foo = 9;