mirror of https://github.com/rust-lang/rust.git
11 lines
125 B
Rust
11 lines
125 B
Rust
|
//@ check-pass
|
||
|
#![allow(dead_code)]
|
||
|
struct A;
|
||
|
impl Drop for A {
|
||
|
fn drop(&mut self) {}
|
||
|
}
|
||
|
|
||
|
const FOO: A = A;
|
||
|
|
||
|
fn main() {}
|