summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-41744.rs
blob: dcdd1c21ee527b664f591de9564f7bb63473c741 (plain)
1
2
3
4
5
6
7
// run-pass
trait Tc {}
impl Tc for bool {}

fn main() {
    let _: &[&dyn Tc] = &[&true];
}