summaryrefslogtreecommitdiffstats
path: root/vendor/cxx/tests/ui/drop_shared.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/cxx/tests/ui/drop_shared.rs')
-rw-r--r--vendor/cxx/tests/ui/drop_shared.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/cxx/tests/ui/drop_shared.rs b/vendor/cxx/tests/ui/drop_shared.rs
deleted file mode 100644
index 5e3de4a1e..000000000
--- a/vendor/cxx/tests/ui/drop_shared.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-#[cxx::bridge]
-mod ffi {
- struct Shared {
- fd: i32,
- }
-}
-
-impl Drop for ffi::Shared {
- fn drop(&mut self) {
- println!("close({})", self.fd);
- }
-}
-
-fn main() {}