summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/constructors_1_33.hpp
blob: 7c6262d4172f77b859395454734249e155175132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// bindgen-flags: --rust-target 1.33

class TestOverload {
  // This one shouldnt' be generated.
  TestOverload();
public:
  /// Calling this should use `mem::unintialized()` and not `MaybeUninit()` as only rust 1.36 includes that.
  TestOverload(int);
  /// Calling this should use `mem::unintialized()` and not `MaybeUninit()` as only rust 1.36 includes that.
  TestOverload(double);
};

class TestPublicNoArgs {
public:
  TestPublicNoArgs();
};