rust/tests/compile-fail/env_args.rs
Oliver Schneider fb2d393427 update tests
2017-02-09 10:59:42 +01:00

5 lines
124 B
Rust

fn main() {
let x = std::env::args(); //~ ERROR miri does not support program arguments
assert_eq!(x.count(), 1);
}