aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-02-16 11:50:53 +0100
committertomaka <pierre.krieger1708@gmail.com>2015-02-16 11:50:53 +0100
commit495898ad986c978b0b60c2650d374df8da5bff75 (patch)
tree044f08370f1da2d92dce1e6658a0c8e2143d1c5a
parent19debf3eb2d3b225d3ce803f00ba3e81bf4466e3 (diff)
parent297a8cbb1d0849fc3ce518c96e07b6d7a1e2f623 (diff)
downloadglutin-495898ad986c978b0b60c2650d374df8da5bff75.tar.gz
glutin-495898ad986c978b0b60c2650d374df8da5bff75.zip
Merge pull request #278 from tomaka/window-proxy-send
Add test for WindowProxy to implement Send
-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>();
+}