mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
cfail test for std::env::args()
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
//error-pattern: no mir for `std
|
||||
|
||||
fn main() {
|
||||
let x = std::env::args();
|
||||
assert_eq!(x.count(), 1);
|
||||
}
|
||||
Reference in New Issue
Block a user