mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
13 lines
218 B
Zig
13 lines
218 B
Zig
const std = @import("std");
|
|
const expect = std.testing.expect;
|
|
|
|
test {
|
|
const a = {};
|
|
const b = void{};
|
|
try expect(@TypeOf(a) == void);
|
|
try expect(@TypeOf(b) == void);
|
|
try expect(a == b);
|
|
}
|
|
|
|
// test
|