summaryrefslogtreecommitdiff
path: root/tests/headers
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers')
-rw-r--r--tests/headers/anon_enum.hpp1
-rw-r--r--tests/headers/anon_enum_trait.hpp1
-rw-r--r--tests/headers/anon_struct_in_union.h1
-rw-r--r--tests/headers/anon_union.hpp1
4 files changed, 4 insertions, 0 deletions
diff --git a/tests/headers/anon_enum.hpp b/tests/headers/anon_enum.hpp
index 1961fe6c..1a55a8d1 100644
--- a/tests/headers/anon_enum.hpp
+++ b/tests/headers/anon_enum.hpp
@@ -1,3 +1,4 @@
+// bindgen-flags: --with-derive-hash
struct Test {
int foo;
float bar;
diff --git a/tests/headers/anon_enum_trait.hpp b/tests/headers/anon_enum_trait.hpp
index e1ec394c..22137392 100644
--- a/tests/headers/anon_enum_trait.hpp
+++ b/tests/headers/anon_enum_trait.hpp
@@ -1,3 +1,4 @@
+// bindgen-flags: --with-derive-hash
template<typename _Tp>
class DataType {
diff --git a/tests/headers/anon_struct_in_union.h b/tests/headers/anon_struct_in_union.h
index 880a8b54..2e6ac5e9 100644
--- a/tests/headers/anon_struct_in_union.h
+++ b/tests/headers/anon_struct_in_union.h
@@ -1,3 +1,4 @@
+// bindgen-flags: --with-derive-hash
struct s {
union {
struct inner {
diff --git a/tests/headers/anon_union.hpp b/tests/headers/anon_union.hpp
index 126f6a6e..26bb842f 100644
--- a/tests/headers/anon_union.hpp
+++ b/tests/headers/anon_union.hpp
@@ -1,3 +1,4 @@
+// bindgen-flags: --with-derive-hash
template<typename T>
struct TErrorResult {
enum UnionState {