summaryrefslogtreecommitdiff
path: root/libbindgen/tests
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2016-12-10 18:19:25 -1000
committerEmilio Cobos Álvarez <emilio@crisal.io>2016-12-10 18:30:04 -1000
commit09c66d1ddf206e0c32732d89774159bec0888a8b (patch)
treeee82b16782af90472302d913790b1a3006f26b2f /libbindgen/tests
parent854aa11d237ff75474dc6c26833fcde884fdecd6 (diff)
lib: Return error early if there are any error diagnostics.
Diffstat (limited to 'libbindgen/tests')
-rw-r--r--libbindgen/tests/headers/bitfield-enum-basic.hpp (renamed from libbindgen/tests/headers/bitfield-enum-basic.h)0
-rw-r--r--libbindgen/tests/headers/empty_template_param_name.hpp2
2 files changed, 2 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/bitfield-enum-basic.h b/libbindgen/tests/headers/bitfield-enum-basic.hpp
index 364bebf2..364bebf2 100644
--- a/libbindgen/tests/headers/bitfield-enum-basic.h
+++ b/libbindgen/tests/headers/bitfield-enum-basic.hpp
diff --git a/libbindgen/tests/headers/empty_template_param_name.hpp b/libbindgen/tests/headers/empty_template_param_name.hpp
index b3360bc9..0e9f3c34 100644
--- a/libbindgen/tests/headers/empty_template_param_name.hpp
+++ b/libbindgen/tests/headers/empty_template_param_name.hpp
@@ -1,3 +1,5 @@
+// bindgen-flags: -- -std=c++11
+
template<typename...> using __void_t = void;
template<typename _Iterator, typename = __void_t<>>