rust/tests/compile-fail/timeout.rs
2016-09-07 10:27:57 +02:00

10 lines
208 B
Rust

//error-pattern: reached the configured maximum execution time
#![feature(custom_attribute, attr_literals)]
#![miri(step_limit=1000)]
fn main() {
for i in 0..1000000 {
assert!(i < 1000);
}
}