rust/src/test/run-fail/tls-exit-status.rs

11 lines
177 B
Rust
Raw Normal View History

// error-pattern:nonzero
// exec-env:RUST_NEWRT=1
// ignore-cloudabi no std::env
use std::env;
fn main() {
env::args();
panic!("please have a nonzero exit status");
}