rust/tests/compile-fail/env_args.rs

5 lines
124 B
Rust
Raw Normal View History

2016-06-17 08:48:15 -05:00
fn main() {
2017-02-09 03:59:42 -06:00
let x = std::env::args(); //~ ERROR miri does not support program arguments
2016-06-17 08:48:15 -05:00
assert_eq!(x.count(), 1);
}