summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/visibility14.C
blob: 24cfdcc25965804c64f6a17ede9f66634141dd63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// { dg-do assemble  }
// GROUPS passed visibility
// visibility file
// From: ajp@eng.cam.ac.uk
// Date:     Tue, 13 Jul 93 17:15:11 BST
// Message-ID: <1171.9307131615@ace.eng.cam.ac.uk

class A {
    static A* list;

  protected:
    struct AA {
        AA();
        ~AA();
    };
};

A::AA::~AA()
{
    A* d=list;
}