aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/window_proxy_send.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/window_proxy_send.rs b/tests/window_proxy_send.rs
new file mode 100644
index 0000000..559e7fe
--- /dev/null
+++ b/tests/window_proxy_send.rs
@@ -0,0 +1,9 @@
+extern crate glutin;
+
+#[cfg(feature = "window")]
+#[test]
+fn window_proxy_send() {
+ // ensures that `glutin::WindowProxy` implements `Send`
+ fn needs_send<T:Send>() {}
+ needs_send::<glutin::WindowProxy>();
+}