mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
13 lines
147 B
Zig
13 lines
147 B
Zig
test "separate scopes" {
|
|
{
|
|
const pi = 3.14;
|
|
_ = pi;
|
|
}
|
|
{
|
|
var pi: bool = true;
|
|
_ = π
|
|
}
|
|
}
|
|
|
|
// test
|