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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/example/relooper-fuzz1.c b/test/example/relooper-fuzz1.c
index fbbbfdd59..cca61e4f4 100644
--- a/test/example/relooper-fuzz1.c
+++ b/test/example/relooper-fuzz1.c
@@ -33,7 +33,8 @@ int main() {
BinaryenLoad(module, 4, 0, 0, 0, BinaryenInt32(),
BinaryenConst(module, BinaryenLiteralInt32(4))),
BinaryenConst(module, BinaryenLiteralInt32(4))
- )
+ ),
+ BinaryenInt32()
);
// optionally, print the return value
@@ -288,7 +289,8 @@ int main() {
full[i] = BinaryenStore(module,
4, 0, 0,
BinaryenConst(module, BinaryenLiteralInt32(8 + 4 * i)),
- BinaryenConst(module, BinaryenLiteralInt32(decisions[i]))
+ BinaryenConst(module, BinaryenLiteralInt32(decisions[i])),
+ BinaryenInt32()
);
}
}