summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pch/static-1.Hs
blob: d277b787bafa9e1e813424ca911def9928784e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class A
{
public:
        int val;

        ~A() {
                int i = 2;
        }

        static void StaticTest() {
                static A a;
        }
};