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
Merged r158704 through r158906 into branch.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
nest1.C
blob
842b2f692e630e5bad363588b5a6bb8d7841eb30
1
// { dg-do assemble }
2
// GROUPS passed nested-classes
3
int x;
4
class enclose {
5
public:
6
int x; // { dg-error "non-static" }
7
8
class inner {
9
public:
10
void f (int i) {
11
x = i;// { dg-error "" } .*
12
}
13
};
14
};
15