summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-kitchen-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index 5fb71b4d6..efd343be9 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -1176,7 +1176,7 @@ void test_core() {
makeInt32(module, 0)),
BinaryenStringNew(module,
BinaryenStringNewWTF16Array(),
- BinaryenGlobalGet(module, "i16Array-global", i8Array),
+ BinaryenGlobalGet(module, "i16Array-global", i16Array),
makeInt32(module, 0),
makeInt32(module, 0)),
BinaryenStringNew(