mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
10 lines
160 B
Zig
10 lines
160 B
Zig
|
pub fn main() void {
|
||
|
comptime {
|
||
|
var a: u32 = comptime 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// error
|
||
|
//
|
||
|
// :3:22: error: redundant comptime keyword in already comptime scope
|