diff options
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index 6db92276e..edf8d61f7 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -1128,6 +1128,11 @@ void test_core() { BinaryenTypeGetHeapType(i8Array), makeInt32(module, 3), makeInt32(module, 42)), + BinaryenArrayNewData(module, + BinaryenTypeGetHeapType(i8Array), + "0", + makeInt32(module, 0), + makeInt32(module, 2)), BinaryenArrayNewFixed(module, BinaryenTypeGetHeapType(i8Array), (BinaryenExpressionRef[]){makeInt32(module, 1), |