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 
main()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 }
26