winit-sonoma-fix/tests/window_proxy_send.rs

10 lines
213 B
Rust
Raw Normal View History

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