2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-03-15 13:30:37 -07:00
|
|
|
use std::any::Any;
|
|
|
|
|
|
|
|
fn foo(_: &u8) {
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2019-05-28 14:47:21 -04:00
|
|
|
let _ = &foo as &dyn Any;
|
2015-03-15 13:30:37 -07:00
|
|
|
}
|