diff options
author | Bastian Köcher <git@kchr.de> | 2017-08-10 23:58:22 +0200 |
---|---|---|
committer | Bastian Köcher <git@kchr.de> | 2017-08-11 00:05:59 +0200 |
commit | f7345fa983357075dfca494374d261a21d64efa9 (patch) | |
tree | 2705e41218f912424485e906edd5fb6de35230e2 | |
parent | ed487d34796111bdf4045975a307dbb491364433 (diff) |
Small fixes and improvements to the derive-debug tests
-rw-r--r-- | tests/headers/derive-debug-bitfield.hpp | 2 | ||||
-rw-r--r-- | tests/headers/derive-debug-opaque-template-instantiation.hpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/headers/derive-debug-bitfield.hpp b/tests/headers/derive-debug-bitfield.hpp index 1c65e190..df43e6a7 100644 --- a/tests/headers/derive-debug-bitfield.hpp +++ b/tests/headers/derive-debug-bitfield.hpp @@ -1,4 +1,4 @@ -// bindgen-flags: --opaque-type "Opaque" --impl-debug +// bindgen-flags: --impl-debug class C { bool a: 1; diff --git a/tests/headers/derive-debug-opaque-template-instantiation.hpp b/tests/headers/derive-debug-opaque-template-instantiation.hpp index b5f8a1ef..0dead782 100644 --- a/tests/headers/derive-debug-opaque-template-instantiation.hpp +++ b/tests/headers/derive-debug-opaque-template-instantiation.hpp @@ -1,5 +1,7 @@ // bindgen-flags: --impl-debug +// This type is opaque because the second template parameter +// is a non-type template parameter template<typename T, int N> class Opaque { T array[N]; |