summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/expectations/tests/namespace.rs1
-rw-r--r--tests/headers/namespace.hpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/expectations/tests/namespace.rs b/tests/expectations/tests/namespace.rs
index d5d10e29..944ec5bb 100644
--- a/tests/expectations/tests/namespace.rs
+++ b/tests/expectations/tests/namespace.rs
@@ -16,6 +16,7 @@ pub mod root {
pub mod whatever {
#[allow(unused_imports)]
use self::super::super::root;
+ pub type whatever_other_thing_t = whatever_int_t;
pub type whatever_int_t = ::std::os::raw::c_int;
extern "C" {
#[link_name = "\u{1}_ZN8whatever11in_whateverEv"]
diff --git a/tests/headers/namespace.hpp b/tests/headers/namespace.hpp
index a8e6f8ec..7e4197da 100644
--- a/tests/headers/namespace.hpp
+++ b/tests/headers/namespace.hpp
@@ -1,4 +1,4 @@
-// bindgen-flags: --enable-cxx-namespaces
+// bindgen-flags: --enable-cxx-namespaces --module-raw-line root::whatever 'pub type whatever_other_thing_t = whatever_int_t;'
void top_level();