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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
scope5.C
blob
34446d88c6bdda9058a5537fdde102d0b92ea9d8
1
// { dg-do assemble }
2
// GROUPS passed scoping
3
// local-class file
4
// From: schlaege@methusalix.ert.rwth-aachen.de (Chris Schlaeger H Zivojnovic)
5
// Date: Tue, 10 Aug 93 16:50:33 +0200
6
// Subject: Bug report
7
// Message-ID: <9308101450.AA28016@methusalix.ert.rwth-aachen.de>
8
9
int main()
10
{
11
class foo
12
{
13
int i;
14
} ;
15
class bar
16
{
17
public:
18
bar() { y = 0; }
19
void f() { foo x; }
20
private:
21
int y;
22
} ;
23
24
bar c;
25
}