Add test for WindowProxy to implement Send

This commit is contained in:
Pierre Krieger 2015-02-16 10:29:53 +01:00
parent cd155ce8ea
commit 297a8cbb1d

View file

@ -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>();
}