cfail test for std::env::args()

This commit is contained in:
Oliver Schneider
2016-06-17 15:48:15 +02:00
parent 6376ef4228
commit 4f48bef896
+6
View File
@@ -0,0 +1,6 @@
//error-pattern: no mir for `std
fn main() {
let x = std::env::args();
assert_eq!(x.count(), 1);
}