rust/tests/compile-fail/env_args.rs

5 lines
124 B
Rust
Raw Normal View History

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