mirror of
https://codeberg.org/ziglang/zig
synced 2026-03-16 23:21:44 +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);
|
|
}
|