summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-kitchen-sink.c1
-rw-r--r--test/example/c-api-kitchen-sink.txt5
2 files changed, 4 insertions, 2 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index 67f7e0642..f054b5710 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -246,6 +246,7 @@ void test_features() {
printf("BinaryenFeatureExceptionHandling: %d\n", BinaryenFeatureExceptionHandling());
printf("BinaryenFeatureTailCall: %d\n", BinaryenFeatureTailCall());
printf("BinaryenFeatureReferenceTypes: %d\n", BinaryenFeatureReferenceTypes());
+ printf("BinaryenFeatureMultivalue: %d\n", BinaryenFeatureMultivalue());
printf("BinaryenFeatureAll: %d\n", BinaryenFeatureAll());
}
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index 1d3ee1dc2..7dd24c1eb 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -1789,7 +1789,7 @@ int main() {
}
BinaryenSetStart(the_module, functions[1]);
BinaryenModuleAutoDrop(the_module);
- BinaryenModuleSetFeatures(the_module, 511);
+ BinaryenModuleSetFeatures(the_module, 1023);
BinaryenModuleGetFeatures(the_module);
BinaryenModuleValidate(the_module);
BinaryenModulePrint(the_module);
@@ -4490,7 +4490,8 @@ BinaryenFeatureSIMD128: 8
BinaryenFeatureExceptionHandling: 64
BinaryenFeatureTailCall: 128
BinaryenFeatureReferenceTypes: 256
-BinaryenFeatureAll: 511
+BinaryenFeatureMultivalue: 512
+BinaryenFeatureAll: 1023
(f32.neg
(f32.const -33.61199951171875)
)