random forgotten test case

This commit is contained in:
Niko Matsakis 2012-06-14 16:27:44 -07:00
parent 2a128fa205
commit 6c056fba4d

View File

@ -0,0 +1,8 @@
// xfail-fast (compile-flags unsupported on windows)
// compile-flags:--borrowck=err
fn main() {
let x = [22]/1;
let y = &x[0];
assert *y == 22;
}