blob: 74b4117bd12e17027e06e411f2392822055831b2 [file] [log] [blame]
#![feature(no_core)]
#![no_core]
fn test() -> i32 {
123
}
fn main() {
let a = { test() };
let b = {
// { dg-warning "unused name" "" { target *-*-* } .-1 }
if a > 10 {
a - 1
} else {
a + 1
}
};
}