summaryrefslogtreecommitdiff
path: root/tests/headers/class.hpp
blob: e753f186cf7587e60ce9586b9a2c0303dacb5dc4 (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
28
29
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;
};

class RealAbstractionWithTonsOfMethods {
  void foo();
public:
  void bar() const;
  void bar();
  void bar(int foo);
  static void sta();
};