summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r--test/example/c-api-kitchen-sink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index c4973d317..907ab58c9 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -710,8 +710,8 @@ void test_core() {
iIfF,
BinaryenTypeInt32()),
// Reference types
- BinaryenRefIsNull(module, externrefExpr),
- BinaryenRefIsNull(module, funcrefExpr),
+ BinaryenRefIs(module, BinaryenRefIsNull(), externrefExpr),
+ BinaryenRefIs(module, BinaryenRefIsNull(), funcrefExpr),
BinaryenSelect(
module,
temp10,