mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 01:10:36 +00:00
14 lines
161 B
Rust
14 lines
161 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
#![allow(unused_variables)]
|
|
|
|
enum Foo { }
|
|
|
|
impl Drop for Foo {
|
|
fn drop(&mut self) { }
|
|
}
|
|
|
|
fn foo(x: Foo) { }
|
|
|
|
fn main() { }
|