summaryrefslogtreecommitdiff
path: root/cli/tests/no_validate_asm.js
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-11 10:20:47 -0400
committerGitHub <noreply@github.com>2021-08-11 10:20:47 -0400
commit15a763152f9d392cb80692262f8de5ef8ae15495 (patch)
treefcd1a59777f95920bf3502519983d6cc0d882a9a /cli/tests/no_validate_asm.js
parenta0285e2eb88f6254f6494b0ecd1878db3a3b2a58 (diff)
chore: move test files to testdata directory (#11601)
Diffstat (limited to 'cli/tests/no_validate_asm.js')
-rw-r--r--cli/tests/no_validate_asm.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/cli/tests/no_validate_asm.js b/cli/tests/no_validate_asm.js
deleted file mode 100644
index ef999e080..000000000
--- a/cli/tests/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,
- };
-}();