master
 1const builtin = @import("builtin");
 2
 3const Namespace = struct {
 4    test "thingy" {}
 5};
 6
 7fn thingy(a: usize, b: usize) usize {
 8    return a + b;
 9}
10
11comptime {
12    _ = Namespace;
13}
14
15test "thingy" {}
16
17test thingy {
18    if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
19    if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
20
21    if (thingy(1, 2) != 3) unreachable;
22}