aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-3082.rs
blob: 4b873955dde18a645d9b07c339fe24e192da636f (plain)
1
2
3
4
5
6
7
8
9
#![allow(unused)]
fn main() {
    trait Hello {
        type Who;

        fn hello() -> <i32>::You;
        // { dg-error "failed to resolve return type" "" { target *-*-* } .-1 }
    }
}