summaryrefslogtreecommitdiff
path: root/tests/headers/class.hpp
diff options
context:
space:
mode:
authorChristian Poveda <christian.poveda@ferrous-systems.com>2022-09-23 21:36:14 -0500
committerChristian Poveda <christian.poveda@ferrous-systems.com>2022-10-04 20:47:17 -0500
commit0296f9e86c7756e718b6b82836ce1e09b5f8d08a (patch)
treeb5954c6680b243c0b1671a80ea973ef90877e462 /tests/headers/class.hpp
parenta900f8f863d1313ad76603234aaeea22bb9ba7b3 (diff)
split the repo into a workspace
remove `clap` dependency :tada: update the book installation instructions
Diffstat (limited to 'tests/headers/class.hpp')
-rw-r--r--tests/headers/class.hpp74
1 files changed, 0 insertions, 74 deletions
diff --git a/tests/headers/class.hpp b/tests/headers/class.hpp
deleted file mode 100644
index a90e373f..00000000
--- a/tests/headers/class.hpp
+++ /dev/null
@@ -1,74 +0,0 @@
-// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq --with-derive-partialord --with-derive-ord --rust-target 1.40
-//
-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_zero_length_array_2 {
- int a;
- 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_incomplete_array_2 {
- int a;
- 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 C_with_zero_length_array_and_incomplete_array_2 {
- int a;
- 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();
-};