diff options
Diffstat (limited to 'test/example')
-rw-r--r-- | test/example/c-api-kitchen-sink.c | 13 | ||||
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 15 |
2 files changed, 2 insertions, 26 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c index de105d239..cc2c96538 100644 --- a/test/example/c-api-kitchen-sink.c +++ b/test/example/c-api-kitchen-sink.c @@ -1002,8 +1002,8 @@ void test_core() { iIfF, BinaryenTypeInt32()), // Reference types - BinaryenRefIs(module, BinaryenRefIsNull(), externrefExpr), - BinaryenRefIs(module, BinaryenRefIsNull(), funcrefExpr), + BinaryenRefIsNull(module, externrefExpr), + BinaryenRefIsNull(module, funcrefExpr), BinaryenSelect( module, temp10, @@ -1014,15 +1014,6 @@ void test_core() { BinaryenRefEq(module, BinaryenRefNull(module, BinaryenTypeNullref()), BinaryenRefNull(module, BinaryenTypeNullref())), - BinaryenRefIs(module, - BinaryenRefIsFunc(), - BinaryenRefNull(module, BinaryenTypeNullref())), - BinaryenRefIs(module, - BinaryenRefIsData(), - BinaryenRefNull(module, BinaryenTypeNullref())), - BinaryenRefIs(module, - BinaryenRefIsI31(), - BinaryenRefNull(module, BinaryenTypeNullref())), BinaryenRefAs(module, BinaryenRefAsNonNull(), BinaryenRefNull(module, BinaryenTypeNullref())), diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 1ee529eb3..51298d1a2 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -2004,21 +2004,6 @@ BinaryenFeatureAll: 126975 ) ) (drop - (ref.is_func - (ref.null none) - ) - ) - (drop - (ref.is_data - (ref.null none) - ) - ) - (drop - (ref.is_i31 - (ref.null none) - ) - ) - (drop (ref.as_non_null (ref.null none) ) |