diff options
-rw-r--r-- | libbindgen/tests/expectations/tests/issue_315.rs | 8 | ||||
-rw-r--r-- | libbindgen/tests/headers/issue_315.hpp | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libbindgen/tests/expectations/tests/issue_315.rs b/libbindgen/tests/expectations/tests/issue_315.rs new file mode 100644 index 00000000..a5ab63fc --- /dev/null +++ b/libbindgen/tests/expectations/tests/issue_315.rs @@ -0,0 +1,8 @@ +/* automatically generated by rust-bindgen */ + + +#![allow(non_snake_case)] + + +/// <div rustbindgen replaces="c"></div> +pub type c<a> = a; diff --git a/libbindgen/tests/headers/issue_315.hpp b/libbindgen/tests/headers/issue_315.hpp new file mode 100644 index 00000000..e58cb5e3 --- /dev/null +++ b/libbindgen/tests/headers/issue_315.hpp @@ -0,0 +1,2 @@ +/// <div rustbindgen replaces="c"></div> +template <typename a> using b = a; |