aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/core/test_inlinejs3.in1
-rw-r--r--tests/core/test_inlinejs3.out1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/core/test_inlinejs3.in b/tests/core/test_inlinejs3.in
index b45abe95..c3b9b769 100644
--- a/tests/core/test_inlinejs3.in
+++ b/tests/core/test_inlinejs3.in
@@ -13,6 +13,7 @@ int main(int argc, char **argv) {
EM_ASM(Module.print('hello dere3'); Module.print('hello dere' + 4););
}
EM_ASM_({ Module.print('hello input ' + $0) }, 123);
+ EM_ASM_ARGS({ Module.print('hello input ' + $0) }, 456);
int sum = 0;
for (int i = 0; i < argc * 3; i++) {
sum += EM_ASM_INT({
diff --git a/tests/core/test_inlinejs3.out b/tests/core/test_inlinejs3.out
index 5d185adc..c48cc3c8 100644
--- a/tests/core/test_inlinejs3.out
+++ b/tests/core/test_inlinejs3.out
@@ -7,6 +7,7 @@ hello dere4
hello dere3
hello dere4
hello input 123
+hello input 456
i: 0,0.00
i: 1,0.08
i: 2,0.17