winit-sonoma-fix/tests/window_proxy_send.rs

10 lines
216 B
Rust
Raw Normal View History

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