aboutsummaryrefslogtreecommitdiff
path: root/src/root.zig
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-16 20:26:44 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-16 20:29:55 +0200
commit11cc71f3b59fa62fd2fb2cb3b84e689317fb1268 (patch)
treef9ffe208db23e3bb79d70ea7f424422d8fade16d /src/root.zig
parent4ce2a56b2e76b631bae5f845e310e3f46dde4dbe (diff)
refactor(lexer): flatten struct
Diffstat (limited to 'src/root.zig')
-rw-r--r--src/root.zig8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/root.zig b/src/root.zig
index 00ba5a5..2bcf565 100644
--- a/src/root.zig
+++ b/src/root.zig
@@ -14,14 +14,6 @@ pub fn bufferedPrint() !void {
try stdout.flush(); // Don't forget to flush!
}
-pub fn add(a: i32, b: i32) i32 {
- return a + b;
-}
-
-test "basic add functionality" {
- try std.testing.expect(add(3, 7) == 10);
-}
-
test {
std.testing.refAllDeclsRecursive(@This());
}