aboutsummaryrefslogtreecommitdiff
path: root/test/link/wasm/export/main.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-12-31 15:29:02 +0100
committerLuuk de Gram <luuk@degram.dev>2023-01-02 18:36:17 +0100
commite4869eeac11eccdbb6cf4d8a4e60a272ca179d55 (patch)
tree85cc01bb74a01fdbdc7167a0e73ce61f78606f0c /test/link/wasm/export/main.zig
parent9932372fae88a6dabdb3945d55556e373bd4bb45 (diff)
downloadzig-e4869eeac11eccdbb6cf4d8a4e60a272ca179d55.tar.gz
zig-e4869eeac11eccdbb6cf4d8a4e60a272ca179d55.zip
test/link: linker tests for all export cases
Adds a linker test case for each possible export case. This means one where no exports are done (i.e. no flags set), when the -dynamic flag is set, and finally when --export=<value> flag(s) are set.
Diffstat (limited to 'test/link/wasm/export/main.zig')
-rw-r--r--test/link/wasm/export/main.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/link/wasm/export/main.zig b/test/link/wasm/export/main.zig
new file mode 100644
index 0000000000..0e416dbf18
--- /dev/null
+++ b/test/link/wasm/export/main.zig
@@ -0,0 +1 @@
+export fn foo() void {}