diff options
Diffstat (limited to 'tests/headers/class_1_0.hpp')
-rw-r--r-- | tests/headers/class_1_0.hpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/tests/headers/class_1_0.hpp b/tests/headers/class_1_0.hpp deleted file mode 100644 index f73487d1..00000000 --- a/tests/headers/class_1_0.hpp +++ /dev/null @@ -1,58 +0,0 @@ -// bindgen-flags: --rust-target 1.0 - -class C { - int a; - // More than rust limits (32) - char big_array[33]; -}; - -class C_with_zero_length_array { - int a; - // More than rust limits (32) - char big_array[33]; - char zero_length_array[0]; -}; - -class C_with_incomplete_array { - int a; - // More than rust limits (32) - char big_array[33]; - char incomplete_array[]; -}; - -class C_with_zero_length_array_and_incomplete_array { - int a; - // More than rust limits (32) - char big_array[33]; - char zero_length_array[0]; - char incomplete_array[]; -}; - -class WithDtor { - int b; - - ~WithDtor() {} -}; - -class IncompleteArrayNonCopiable { - void* whatever; - C incomplete_array[]; -}; - -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(); -}; |