summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/scope3.C
blob: 5988d19f8102974e98452a996266e6818c5f8345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do assemble  }
// GROUPS passed scoping
// local-class file
// From: dcb@us-es.sel.de
// Date:     Fri, 27 Nov 92 15:34:28 +0100
// Subject:  GNU G++ 2.3.1 bug report
// Message-ID: <9211271434.AA15612@us-es.sel.de>


void f()
{
        {
                struct A {
                        A() {}
                } a;
        };
        {
                struct A {
                        A() {}
                } a ;
        };
}