]> git.lizzy.rs Git - rust.git/blob - tests/ui/exit3.rs
Auto merge of #7453 - F3real:assume_function_calls_have_side_effect, r=flip1995
[rust.git] / tests / ui / exit3.rs
1 #[warn(clippy::exit)]
2
3 fn main() {
4     if true {
5         std::process::exit(2);
6     };
7     std::process::exit(1);
8 }