summaryrefslogtreecommitdiffstats
path: root/tests/class/test.h
blob: 72528fc917270296467d54290ff103a461bdcb7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef TEST_H
#define TEST_H

namespace Foo {
    class A {
        int a1(); // 1
    };

    class B :public A {
        int b1(); // 2
    };

    class D :public X, private Y {
        int d(); // 3
    };

    struct E {
        int x; // 4
    };

    union F {
        int x;
        char y; // 5
    };
}

#endif // TEST_H