☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
block_expr2.rs
☽
☼
gcc/testsuite/rust/compile/torture/block_expr2.rs
code
plain
raw
1
fn test() -> i32 {
2
123
3
}
4
5
fn main() {
6
let a = { test() };
7
let b = {
8
// { dg-warning "unused name" "" { target *-*-* } .-1 }
9
if a > 10 {
10
a - 1
11
} else {
12
a + 1
13
}
14
};
15
}