summaryrefslogtreecommitdiff
path: root/tests/headers/class_with_inner_struct.hpp
blob: 5f57a1c0e24d8ee9e13f4b66104d768652011efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class A {
    unsigned c;
    struct Segment { int begin, end; };
    union {
        int f;
    } named_union;
    union {
        int d;
    };
};

class B {
    unsigned d;
    struct Segment { int begin, end; };
};