diff options
Diffstat (limited to 'src/test/ui/drop/drop-trait.rs')
-rw-r--r-- | src/test/ui/drop/drop-trait.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/drop/drop-trait.rs b/src/test/ui/drop/drop-trait.rs deleted file mode 100644 index d93f77180..000000000 --- a/src/test/ui/drop/drop-trait.rs +++ /dev/null @@ -1,15 +0,0 @@ -// run-pass -#![allow(dead_code)] -struct Foo { - x: isize -} - -impl Drop for Foo { - fn drop(&mut self) { - println!("bye"); - } -} - -pub fn main() { - let _x: Foo = Foo { x: 3 }; -} |