summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastian Köcher <git@kchr.de>2017-08-10 23:58:22 +0200
committerBastian Köcher <git@kchr.de>2017-08-11 00:05:59 +0200
commitf7345fa983357075dfca494374d261a21d64efa9 (patch)
tree2705e41218f912424485e906edd5fb6de35230e2
parented487d34796111bdf4045975a307dbb491364433 (diff)
Small fixes and improvements to the derive-debug tests
-rw-r--r--tests/headers/derive-debug-bitfield.hpp2
-rw-r--r--tests/headers/derive-debug-opaque-template-instantiation.hpp2
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];