summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-16922-rpass.rs
blob: c3c6ff304888db8c6627a0608e9bb0ba0ad3b8c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// pretty-expanded FIXME #23616

use std::any::Any;

fn foo(_: &u8) {
}

fn main() {
    let _ = &foo as &dyn Any;
}