diff --git a/vulkano/src/device.rs b/vulkano/src/device.rs index 9f54fee8..60c452c9 100644 --- a/vulkano/src/device.rs +++ b/vulkano/src/device.rs @@ -413,3 +413,15 @@ unsafe impl SynchronizedVulkanObject for Queue { self.queue.lock().unwrap() } } + +#[cfg(test)] +mod tests { + use std::sync::Arc; + + #[test] + #[ignore] // FIXME: failing, fix me + fn one_ref() { + let (mut device, _) = gfx_dev_and_queue!(); + assert!(Arc::get_mut(&mut device).is_some()); + } +}