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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index e3199bdd6..9f8c9a640 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -280,6 +280,13 @@ void test_types() {
pair[0] = pair[1] = f32;
BinaryenType float_pair = BinaryenTypeCreate(pair, 2);
assert(float_pair != i32_pair);
+
+ BinaryenPackedType notPacked = BinaryenPackedTypeNotPacked();
+ printf(" // BinaryenPackedTypeNotPacked: %d\n", notPacked);
+ BinaryenPackedType i8 = BinaryenPackedTypeInt8();
+ printf(" // BinaryenPackedTypeInt8: %d\n", i8);
+ BinaryenPackedType i16 = BinaryenPackedTypeInt16();
+ printf(" // BinaryenPackedTypeInt16: %d\n", i16);
}
void test_features() {