aboutsummaryrefslogtreecommitdiff
path: root/test/standalone/use_alias/main.zig
blob: be9d6da6c323bdef920809795349e25732e65ff3 (plain)
1
2
3
4
5
6
7
8
9
10
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);
}