rust/src/test/ui/issues/issue-16922-rpass.rs
2019-07-27 18:56:17 +03:00

12 lines
129 B
Rust

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