rust/tests/ui/process/tls-exit-status.rs
2023-01-11 09:32:08 +00:00

12 lines
192 B
Rust

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