summary refs log tree commit diff
path: root/src/test/run-pass/bind-parameterized-args-2.rs
blob: 997bc2b17990a950415d16f013e92787e44edb92 (plain)
1
2
3
4
5
6
7
fn main() {
    fn echo<T>(c: int, x: fn@(T)) { #error("wee"); }

    let y = echo(42, _);

    y(fn@(&&i: str) { });
}