summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/no_copy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/no_copy.hpp')
-rw-r--r--libbindgen/tests/headers/no_copy.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/no_copy.hpp b/libbindgen/tests/headers/no_copy.hpp
new file mode 100644
index 00000000..349e428e
--- /dev/null
+++ b/libbindgen/tests/headers/no_copy.hpp
@@ -0,0 +1,6 @@
+
+/** <div rustbindgen nocopy></div> */
+template<typename T>
+class CopiableButWait {
+ int whatever;
+};