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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
nest1.C
blob
07ba77884fe6b4de6a8933f02edd383581046d8b
1
// { dg-do assemble }
2
// GROUPS passed nested-classes
3
int x;
4
class enclose {
5
public:
6
int x; // { dg-message "" }
7
8
class inner {
9
public:
10
void f (int i) {
11
x = i;// { dg-error "non-static" } .*
12
}
13
};
14
};
15