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