summaryrefslogtreecommitdiff
path: root/tests/headers/class.hpp
blob: a34d4d8e850e784c58f2dbaab51284cddd25354e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class C {
    int a;
    // More than rust limits (32)
    char big_array[33];
};

class WithDtor {
    int b;

    ~WithDtor() {}
};

union Union {
    float d;
    int i;
};

class WithUnion {
    Union data;
};