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

    let y = bind echo(42, _);

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