1 // { dg-do assemble  }
2 // GROUPS passed visibility
3 // visibility file
4 // From: ajp@eng.cam.ac.uk
5 // Date:     Tue, 13 Jul 93 17:15:11 BST
6 // Message-ID: <1171.9307131615@ace.eng.cam.ac.uk
7 
8 class A {
9     static A* list;
10 
11   protected:
12     struct AA {
13         AA();
14         ~AA();
15     };
16 };
17 
~AA()18 A::AA::~AA()
19 {
20     A* d=list;
21 }
22