mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
10 lines
232 B
Zig
10 lines
232 B
Zig
const std = @import("std");
|
|
|
|
extern var obj1_integer: usize;
|
|
extern var obj2_integer: usize;
|
|
|
|
test "access the external integers" {
|
|
try std.testing.expect(obj1_integer == 421);
|
|
try std.testing.expect(obj2_integer == 422);
|
|
}
|