提交 e5757923 编写于 作者: M Michael Sullivan

Add a test for that last bug. Oops.

上级 ea8d4d7f
fn main() {
let v = vec::from_fn(1024u) {|n| n};
// this should trip a bounds check
log(error, v[-1i8]);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册