]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/borrowck-fixed-length-vecs.rs
first steps to autoderef on method calls
[rust.git] / src / test / run-pass / borrowck-fixed-length-vecs.rs
1 fn main() {
2     let x = [22]/1;
3     let y = &x[0];
4     assert *y == 22;
5 }