rust/src/test/run-pass/issues/issue-16922.rs
2018-12-25 21:08:33 -07:00

12 lines
125 B
Rust

// run-pass
// pretty-expanded FIXME #23616
use std::any::Any;
fn foo(_: &u8) {
}
fn main() {
let _ = &foo as &Any;
}