summaryrefslogtreecommitdiff
path: root/test/example/relooper-fuzz1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/relooper-fuzz1.c')
-rw-r--r--test/example/relooper-fuzz1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/relooper-fuzz1.c b/test/example/relooper-fuzz1.c
index 4293044f2..676c9b8f4 100644
--- a/test/example/relooper-fuzz1.c
+++ b/test/example/relooper-fuzz1.c
@@ -325,7 +325,7 @@ int main() {
BinaryenFunctionTypeRef vi = BinaryenAddFunctionType(module, "vi",
BinaryenNone(),
iparams, 1);
- BinaryenAddImport(module, "print", "spectest", "print", vi);
+ BinaryenAddFunctionImport(module, "print", "spectest", "print", vi);
// memory
BinaryenSetMemory(module, 1, 1, "mem", NULL, NULL, NULL, 0);