mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
11 lines
179 B
Zig
11 lines
179 B
Zig
const pi = 3.14;
|
|
|
|
test "inside test block" {
|
|
// Let's even go inside another block
|
|
{
|
|
var pi: i32 = 1234;
|
|
}
|
|
}
|
|
|
|
// test_error=local variable shadows declaration
|