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