Sign in
fuchsia
/
third_party
/
rust
/
daecab3a784f28082df90cebb204998051f3557d
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
exit2.rs
blob: 4b693ed7083f000e5346722f2f8239e9fbe78c2b [
file
] [
log
] [
blame
]
#[
warn
(
clippy
::
exit
)]
fn
also_not_main
()
{
std
::
process
::
exit
(
3
);
}
fn
main
()
{
if
true
{
std
::
process
::
exit
(
2
);
};
also_not_main
();
std
::
process
::
exit
(
1
);
}