]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/fn-pattern-expected-type-2.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / binding / fn-pattern-expected-type-2.rs
1 // run-pass
2 pub fn main() {
3     let v : &[(isize,isize)] = &[ (1, 2), (3, 4), (5, 6) ];
4     for &(x, y) in v {
5         println!("{}", y);
6         println!("{}", x);
7     }
8 }