aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/generics12.rs
blob: f1ac8b0314b43bf4c2d6fb0ead5aab82a2ab55e3 (plain)
1
2
3
4
5
6
fn main() {
    bar();
    // { dg-error "type annotations needed" "" { target *-*-* } .-1 }
}

fn bar<T>() {}