Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / scope5.C
blob34446d88c6bdda9058a5537fdde102d0b92ea9d8
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>
9 int main()
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         } ;
24         bar     c;