zig/test/cases/unused_vars.zig

8 lines
92 B
Zig

pub fn main() void {
const x = 1;
}
// error
//
// :2:11: error: unused local constant