aboutsummaryrefslogtreecommitdiff
path: root/test/standalone/test_obj_link_run/src/main.zig
blob: 119092ec6d4f80810c80452acb63933cc71cf00c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
test {
    try std.testing.expect(true);
}

test "equality" {
    try std.testing.expect(one() == 1);
}

test "arithmetic" {
    try std.testing.expect(one() + 2 == 3);
}

fn one() u32 {
    return 1;
}

const std = @import("std");