fn main() {
    let f: fn((int,int)) = |(x, y)| {
        assert x == 1;
        assert y == 2;
    };
    f((1, 2));
}


Add a test that function argument patterns take in the expected type. r=test-only
test: Add a test that function argument patterns take in the expected type. r=test-only
