winit-sonoma-fix/tests/window_proxy_send.rs

10 lines
213 B
Rust
Raw Normal View History

2016-03-26 18:07:52 +01:00
extern crate winit;
#[cfg(feature = "window")]
#[test]
fn window_proxy_send() {
2016-03-26 18:07:52 +01:00
// ensures that `winit::WindowProxy` implements `Send`
fn needs_send<T:Send>() {}
2016-03-26 18:07:52 +01:00
needs_send::<winit::WindowProxy>();
}