☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
rust
/
10 language stds
/
2018.rs
☽
☼
test cases/rust/10 language stds/2018.rs
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
const fn foo(x: i32) -> i32 {
2
return x + 1;
3
}
4
5
const VALUE: i32 = foo(-1);
6
7
pub fn main() {
8
std::process::exit(VALUE);
9
}