summaryrefslogtreecommitdiffstats
path: root/tests/ui/process/tls-exit-status.rs
blob: 6296e5042d28031e039a570089627db95dcd9b93 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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");
}