summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/no_validate_asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/run/no_validate_asm.js')
-rw-r--r--cli/tests/testdata/run/no_validate_asm.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/cli/tests/testdata/run/no_validate_asm.js b/cli/tests/testdata/run/no_validate_asm.js
deleted file mode 100644
index ef999e080..000000000
--- a/cli/tests/testdata/run/no_validate_asm.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// V8 logs any asmjs validation errors to stdout, but it shows line numbers that
-// are non-existent in the source.
-
-const _asmJsModule = function () {
- "use asm";
-
- function func(
- x,
- ) {
- x = +x; // cast to float
-
- ~x;
- // asmjs error: `~` is only valid on integers
- // should not log to stdout with --no-validate-asm
- }
-
- return {
- f: func,
- };
-}();