mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 08:02:32 +00:00
11 lines
196 B
Zig
11 lines
196 B
Zig
const c = @import("c.zig");
|
|
const expect = @import("std").testing.expect;
|
|
|
|
test "symbol exists" {
|
|
var foo = c.Foo{
|
|
.a = 1,
|
|
.b = 1,
|
|
};
|
|
try expect(foo.a + foo.b == 2);
|
|
}
|