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, 4 insertions, 0 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index 442394e12..6b4aaec7d 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -740,6 +740,10 @@ void test_core() {
BinaryenRefNull(module, BinaryenTypeFuncref()),
BinaryenRefFunc(module, "kitchen()sinker"),
BinaryenTypeFuncref()),
+ // GC
+ BinaryenRefEq(module,
+ BinaryenRefNull(module, BinaryenTypeEqref()),
+ BinaryenRefNull(module, BinaryenTypeEqref())),
// Exception handling
BinaryenTry(module, tryBody, catchBody),
// Atomics