aboutsummaryrefslogtreecommitdiff
path: root/test/standalone.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-01-01 19:27:40 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 19:49:08 -0700
commit2b63ba31e9757347b4e8d10c435396f94367ef45 (patch)
treeee01cc8fc879cbb4029c1ff4c7187f5fb96ded4b /test/standalone.zig
parentd5c1e7f7b1381036f7d98c1944607cb0e1c0d4da (diff)
downloadzig-2b63ba31e9757347b4e8d10c435396f94367ef45.tar.gz
zig-2b63ba31e9757347b4e8d10c435396f94367ef45.zip
add standalone test for depending on the main module
Diffstat (limited to 'test/standalone.zig')
-rw-r--r--test/standalone.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/standalone.zig b/test/standalone.zig
index 0303c49c13..b26e85c159 100644
--- a/test/standalone.zig
+++ b/test/standalone.zig
@@ -258,6 +258,10 @@ pub const build_cases = [_]BuildCase{
.build_root = "test/standalone/ios",
.import = @import("standalone/ios/build.zig"),
},
+ .{
+ .build_root = "test/standalone/depend_on_main_mod",
+ .import = @import("standalone/depend_on_main_mod/build.zig"),
+ },
};
const std = @import("std");