zig/test/cases/unused_vars.zig

8 lines
92 B
Zig
Raw Normal View History

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