blob: 4b719b0d133de1b564468a232771a448cec3741a [file]
#![feature(no_core)]
#![no_core]
const TEST_CONST:i32 = 10;
fn main() {
let mut x = TEST_CONST;
x = x + 1;
let mut y = x + TEST_CONST;
// { dg-warning "unused name" "" { target *-*-* } .-1 }
}