diff options
Diffstat (limited to 'test/example')
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 1 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index 66d7bee06..9e996a881 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -155,6 +155,7 @@ void test_types() { printf("BinaryenTypeFloat32: %d\n", BinaryenTypeFloat32()); printf("BinaryenTypeFloat64: %d\n", BinaryenTypeFloat64()); printf("BinaryenTypeVec128: %d\n", BinaryenTypeVec128()); + printf("BinaryenTypeExceptRef: %d\n", BinaryenTypeExceptRef()); printf("BinaryenTypeUnreachable: %d\n", BinaryenTypeUnreachable()); printf("BinaryenTypeAuto: %d\n", BinaryenTypeAuto()); } diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index df193c379..3ac03367b 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -4,7 +4,8 @@ BinaryenTypeInt64: 2 BinaryenTypeFloat32: 3 BinaryenTypeFloat64: 4 BinaryenTypeVec128: 5 -BinaryenTypeUnreachable: 6 +BinaryenTypeExceptRef: 6 +BinaryenTypeUnreachable: 7 BinaryenTypeAuto: -1 (f32.neg (f32.const -33.61199951171875) |