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