diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-01-23 10:13:18 -0800 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-01-23 10:13:18 -0800 |
commit | 5c7030903774bdde07934718f6b184ff9db2c6de (patch) | |
tree | 28f77d11a923fb1c206dae87a7c4db0c26bc6638 /libbindgen/tests/headers | |
parent | f347ce2ddc7f18a05205b8243ac5d0a61b69f9f1 (diff) |
Move new test files out of libbindgen
Diffstat (limited to 'libbindgen/tests/headers')
-rw-r--r-- | libbindgen/tests/headers/16-byte-alignment.h | 33 | ||||
-rw-r--r-- | libbindgen/tests/headers/issue-410.hpp | 12 |
2 files changed, 0 insertions, 45 deletions
diff --git a/libbindgen/tests/headers/16-byte-alignment.h b/libbindgen/tests/headers/16-byte-alignment.h deleted file mode 100644 index 7a7f7548..00000000 --- a/libbindgen/tests/headers/16-byte-alignment.h +++ /dev/null @@ -1,33 +0,0 @@ - -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; - -struct rte_ipv4_tuple { - uint32_t src_addr; - uint32_t dst_addr; - union { - struct { - uint16_t dport; - uint16_t sport; - }; - uint32_t sctp_tag; - }; -}; - -struct rte_ipv6_tuple { - uint8_t src_addr[16]; - uint8_t dst_addr[16]; - union { - struct { - uint16_t dport; - uint16_t sport; - }; - uint32_t sctp_tag; - }; -}; - -union rte_thash_tuple { - struct rte_ipv4_tuple v4; - struct rte_ipv6_tuple v6; -} __attribute__((aligned(16))); diff --git a/libbindgen/tests/headers/issue-410.hpp b/libbindgen/tests/headers/issue-410.hpp deleted file mode 100644 index a7a834cf..00000000 --- a/libbindgen/tests/headers/issue-410.hpp +++ /dev/null @@ -1,12 +0,0 @@ -// bindgen-flags: --enable-cxx-namespaces --whitelist-type JS::Value - -namespace JS { -class Value; -} -typedef enum {} JSWhyMagic; -namespace JS { -class Value { -public: - void a(JSWhyMagic); -}; -} |