aboutsummaryrefslogtreecommitdiff
path: root/test/link/static_lib_as_system_lib/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-03-07 00:44:10 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-03-15 10:48:14 -0700
commit4efeeaac881c5583321e8b385e90f004e99bc3d1 (patch)
tree8b2abe47efb8fa7d68d44764f366543030b1118a /test/link/static_lib_as_system_lib/main.zig
parente122cd6312606068eb14987ed4d7527341484d26 (diff)
downloadzig-4efeeaac881c5583321e8b385e90f004e99bc3d1.tar.gz
zig-4efeeaac881c5583321e8b385e90f004e99bc3d1.zip
delete link test "static_lib_as_system_lib"
I disagree with this behavior and will be reverting the changes corresponding to this test case. Also this test case unnecessarily uses a .c file when a .zig file would be preferred, and has a problematic dependency on the install step, preventing this test case from playing nicely with the cache.
Diffstat (limited to 'test/link/static_lib_as_system_lib/main.zig')
-rw-r--r--test/link/static_lib_as_system_lib/main.zig8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/link/static_lib_as_system_lib/main.zig b/test/link/static_lib_as_system_lib/main.zig
deleted file mode 100644
index 0b9c46217f..0000000000
--- a/test/link/static_lib_as_system_lib/main.zig
+++ /dev/null
@@ -1,8 +0,0 @@
-const std = @import("std");
-const expect = std.testing.expect;
-const c = @cImport(@cInclude("a.h"));
-
-test "import C add" {
- const result = c.add(2, 1);
- try expect(result == 3);
-}