mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 17:23:09 +00:00
This is just a temp addition until I figure out how to tweak the stage2 test harness to add the ability to test the linker too.
8 lines
106 B
Zig
8 lines
106 B
Zig
const std = @import("std");
|
|
|
|
extern threadlocal var a: i32;
|
|
|
|
test {
|
|
try std.testing.expect(a == 0);
|
|
}
|