| 1 |
{ |
| 2 |
"source_filename": "tests/testsuite/proposals/wasm-3.0/imports.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 3, |
| 7 |
"filename": "imports.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "register", |
| 12 |
"line": 28, |
| 13 |
"as": "test" |
| 14 |
}, |
| 15 |
{ |
| 16 |
"type": "module", |
| 17 |
"line": 33, |
| 18 |
"filename": "imports.1.wasm", |
| 19 |
"module_type": "binary" |
| 20 |
}, |
| 21 |
{ |
| 22 |
"type": "assert_return", |
| 23 |
"line": 95, |
| 24 |
"action": { |
| 25 |
"type": "invoke", |
| 26 |
"field": "print32", |
| 27 |
"args": [ |
| 28 |
{ |
| 29 |
"type": "i32", |
| 30 |
"value": "13" |
| 31 |
} |
| 32 |
] |
| 33 |
}, |
| 34 |
"expected": [] |
| 35 |
}, |
| 36 |
{ |
| 37 |
"type": "assert_return", |
| 38 |
"line": 96, |
| 39 |
"action": { |
| 40 |
"type": "invoke", |
| 41 |
"field": "print64", |
| 42 |
"args": [ |
| 43 |
{ |
| 44 |
"type": "i64", |
| 45 |
"value": "24" |
| 46 |
} |
| 47 |
] |
| 48 |
}, |
| 49 |
"expected": [] |
| 50 |
}, |
| 51 |
{ |
| 52 |
"type": "assert_invalid", |
| 53 |
"line": 99, |
| 54 |
"filename": "imports.2.wasm", |
| 55 |
"module_type": "binary", |
| 56 |
"text": "unknown type" |
| 57 |
}, |
| 58 |
{ |
| 59 |
"type": "module", |
| 60 |
"line": 107, |
| 61 |
"filename": "imports.3.wasm", |
| 62 |
"module_type": "binary" |
| 63 |
}, |
| 64 |
{ |
| 65 |
"type": "assert_return", |
| 66 |
"line": 114, |
| 67 |
"action": { |
| 68 |
"type": "invoke", |
| 69 |
"field": "print_i32", |
| 70 |
"args": [ |
| 71 |
{ |
| 72 |
"type": "i32", |
| 73 |
"value": "13" |
| 74 |
} |
| 75 |
] |
| 76 |
}, |
| 77 |
"expected": [] |
| 78 |
}, |
| 79 |
{ |
| 80 |
"type": "module", |
| 81 |
"line": 117, |
| 82 |
"filename": "imports.4.wasm", |
| 83 |
"module_type": "binary" |
| 84 |
}, |
| 85 |
{ |
| 86 |
"type": "assert_return", |
| 87 |
"line": 124, |
| 88 |
"action": { |
| 89 |
"type": "invoke", |
| 90 |
"field": "print_i32", |
| 91 |
"args": [ |
| 92 |
{ |
| 93 |
"type": "i32", |
| 94 |
"value": "5" |
| 95 |
}, |
| 96 |
{ |
| 97 |
"type": "i32", |
| 98 |
"value": "11" |
| 99 |
} |
| 100 |
] |
| 101 |
}, |
| 102 |
"expected": [ |
| 103 |
{ |
| 104 |
"type": "i32", |
| 105 |
"value": "16" |
| 106 |
} |
| 107 |
] |
| 108 |
}, |
| 109 |
{ |
| 110 |
"type": "module", |
| 111 |
"line": 126, |
| 112 |
"filename": "imports.5.wasm", |
| 113 |
"module_type": "binary" |
| 114 |
}, |
| 115 |
{ |
| 116 |
"type": "module", |
| 117 |
"line": 127, |
| 118 |
"filename": "imports.6.wasm", |
| 119 |
"module_type": "binary" |
| 120 |
}, |
| 121 |
{ |
| 122 |
"type": "module", |
| 123 |
"line": 128, |
| 124 |
"filename": "imports.7.wasm", |
| 125 |
"module_type": "binary" |
| 126 |
}, |
| 127 |
{ |
| 128 |
"type": "module", |
| 129 |
"line": 129, |
| 130 |
"filename": "imports.8.wasm", |
| 131 |
"module_type": "binary" |
| 132 |
}, |
| 133 |
{ |
| 134 |
"type": "module", |
| 135 |
"line": 130, |
| 136 |
"filename": "imports.9.wasm", |
| 137 |
"module_type": "binary" |
| 138 |
}, |
| 139 |
{ |
| 140 |
"type": "module", |
| 141 |
"line": 131, |
| 142 |
"filename": "imports.10.wasm", |
| 143 |
"module_type": "binary" |
| 144 |
}, |
| 145 |
{ |
| 146 |
"type": "module", |
| 147 |
"line": 132, |
| 148 |
"filename": "imports.11.wasm", |
| 149 |
"module_type": "binary" |
| 150 |
}, |
| 151 |
{ |
| 152 |
"type": "assert_unlinkable", |
| 153 |
"line": 135, |
| 154 |
"filename": "imports.12.wasm", |
| 155 |
"module_type": "binary", |
| 156 |
"text": "unknown import" |
| 157 |
}, |
| 158 |
{ |
| 159 |
"type": "assert_unlinkable", |
| 160 |
"line": 139, |
| 161 |
"filename": "imports.13.wasm", |
| 162 |
"module_type": "binary", |
| 163 |
"text": "unknown import" |
| 164 |
}, |
| 165 |
{ |
| 166 |
"type": "assert_unlinkable", |
| 167 |
"line": 144, |
| 168 |
"filename": "imports.14.wasm", |
| 169 |
"module_type": "binary", |
| 170 |
"text": "incompatible import type" |
| 171 |
}, |
| 172 |
{ |
| 173 |
"type": "assert_unlinkable", |
| 174 |
"line": 148, |
| 175 |
"filename": "imports.15.wasm", |
| 176 |
"module_type": "binary", |
| 177 |
"text": "incompatible import type" |
| 178 |
}, |
| 179 |
{ |
| 180 |
"type": "assert_unlinkable", |
| 181 |
"line": 152, |
| 182 |
"filename": "imports.16.wasm", |
| 183 |
"module_type": "binary", |
| 184 |
"text": "incompatible import type" |
| 185 |
}, |
| 186 |
{ |
| 187 |
"type": "assert_unlinkable", |
| 188 |
"line": 156, |
| 189 |
"filename": "imports.17.wasm", |
| 190 |
"module_type": "binary", |
| 191 |
"text": "incompatible import type" |
| 192 |
}, |
| 193 |
{ |
| 194 |
"type": "assert_unlinkable", |
| 195 |
"line": 160, |
| 196 |
"filename": "imports.18.wasm", |
| 197 |
"module_type": "binary", |
| 198 |
"text": "incompatible import type" |
| 199 |
}, |
| 200 |
{ |
| 201 |
"type": "assert_unlinkable", |
| 202 |
"line": 164, |
| 203 |
"filename": "imports.19.wasm", |
| 204 |
"module_type": "binary", |
| 205 |
"text": "incompatible import type" |
| 206 |
}, |
| 207 |
{ |
| 208 |
"type": "assert_unlinkable", |
| 209 |
"line": 168, |
| 210 |
"filename": "imports.20.wasm", |
| 211 |
"module_type": "binary", |
| 212 |
"text": "incompatible import type" |
| 213 |
}, |
| 214 |
{ |
| 215 |
"type": "assert_unlinkable", |
| 216 |
"line": 172, |
| 217 |
"filename": "imports.21.wasm", |
| 218 |
"module_type": "binary", |
| 219 |
"text": "incompatible import type" |
| 220 |
}, |
| 221 |
{ |
| 222 |
"type": "assert_unlinkable", |
| 223 |
"line": 176, |
| 224 |
"filename": "imports.22.wasm", |
| 225 |
"module_type": "binary", |
| 226 |
"text": "incompatible import type" |
| 227 |
}, |
| 228 |
{ |
| 229 |
"type": "assert_unlinkable", |
| 230 |
"line": 180, |
| 231 |
"filename": "imports.23.wasm", |
| 232 |
"module_type": "binary", |
| 233 |
"text": "incompatible import type" |
| 234 |
}, |
| 235 |
{ |
| 236 |
"type": "assert_unlinkable", |
| 237 |
"line": 184, |
| 238 |
"filename": "imports.24.wasm", |
| 239 |
"module_type": "binary", |
| 240 |
"text": "incompatible import type" |
| 241 |
}, |
| 242 |
{ |
| 243 |
"type": "assert_unlinkable", |
| 244 |
"line": 188, |
| 245 |
"filename": "imports.25.wasm", |
| 246 |
"module_type": "binary", |
| 247 |
"text": "incompatible import type" |
| 248 |
}, |
| 249 |
{ |
| 250 |
"type": "assert_unlinkable", |
| 251 |
"line": 192, |
| 252 |
"filename": "imports.26.wasm", |
| 253 |
"module_type": "binary", |
| 254 |
"text": "incompatible import type" |
| 255 |
}, |
| 256 |
{ |
| 257 |
"type": "assert_unlinkable", |
| 258 |
"line": 196, |
| 259 |
"filename": "imports.27.wasm", |
| 260 |
"module_type": "binary", |
| 261 |
"text": "incompatible import type" |
| 262 |
}, |
| 263 |
{ |
| 264 |
"type": "assert_unlinkable", |
| 265 |
"line": 200, |
| 266 |
"filename": "imports.28.wasm", |
| 267 |
"module_type": "binary", |
| 268 |
"text": "incompatible import type" |
| 269 |
}, |
| 270 |
{ |
| 271 |
"type": "assert_unlinkable", |
| 272 |
"line": 204, |
| 273 |
"filename": "imports.29.wasm", |
| 274 |
"module_type": "binary", |
| 275 |
"text": "incompatible import type" |
| 276 |
}, |
| 277 |
{ |
| 278 |
"type": "assert_unlinkable", |
| 279 |
"line": 209, |
| 280 |
"filename": "imports.30.wasm", |
| 281 |
"module_type": "binary", |
| 282 |
"text": "incompatible import type" |
| 283 |
}, |
| 284 |
{ |
| 285 |
"type": "assert_unlinkable", |
| 286 |
"line": 213, |
| 287 |
"filename": "imports.31.wasm", |
| 288 |
"module_type": "binary", |
| 289 |
"text": "incompatible import type" |
| 290 |
}, |
| 291 |
{ |
| 292 |
"type": "assert_unlinkable", |
| 293 |
"line": 217, |
| 294 |
"filename": "imports.32.wasm", |
| 295 |
"module_type": "binary", |
| 296 |
"text": "incompatible import type" |
| 297 |
}, |
| 298 |
{ |
| 299 |
"type": "assert_unlinkable", |
| 300 |
"line": 221, |
| 301 |
"filename": "imports.33.wasm", |
| 302 |
"module_type": "binary", |
| 303 |
"text": "incompatible import type" |
| 304 |
}, |
| 305 |
{ |
| 306 |
"type": "assert_unlinkable", |
| 307 |
"line": 225, |
| 308 |
"filename": "imports.34.wasm", |
| 309 |
"module_type": "binary", |
| 310 |
"text": "incompatible import type" |
| 311 |
}, |
| 312 |
{ |
| 313 |
"type": "assert_unlinkable", |
| 314 |
"line": 229, |
| 315 |
"filename": "imports.35.wasm", |
| 316 |
"module_type": "binary", |
| 317 |
"text": "incompatible import type" |
| 318 |
}, |
| 319 |
{ |
| 320 |
"type": "assert_unlinkable", |
| 321 |
"line": 233, |
| 322 |
"filename": "imports.36.wasm", |
| 323 |
"module_type": "binary", |
| 324 |
"text": "incompatible import type" |
| 325 |
}, |
| 326 |
{ |
| 327 |
"type": "assert_unlinkable", |
| 328 |
"line": 238, |
| 329 |
"filename": "imports.37.wasm", |
| 330 |
"module_type": "binary", |
| 331 |
"text": "unknown import" |
| 332 |
}, |
| 333 |
{ |
| 334 |
"type": "assert_unlinkable", |
| 335 |
"line": 242, |
| 336 |
"filename": "imports.38.wasm", |
| 337 |
"module_type": "binary", |
| 338 |
"text": "incompatible import type" |
| 339 |
}, |
| 340 |
{ |
| 341 |
"type": "assert_unlinkable", |
| 342 |
"line": 246, |
| 343 |
"filename": "imports.39.wasm", |
| 344 |
"module_type": "binary", |
| 345 |
"text": "incompatible import type" |
| 346 |
}, |
| 347 |
{ |
| 348 |
"type": "assert_unlinkable", |
| 349 |
"line": 250, |
| 350 |
"filename": "imports.40.wasm", |
| 351 |
"module_type": "binary", |
| 352 |
"text": "incompatible import type" |
| 353 |
}, |
| 354 |
{ |
| 355 |
"type": "assert_unlinkable", |
| 356 |
"line": 254, |
| 357 |
"filename": "imports.41.wasm", |
| 358 |
"module_type": "binary", |
| 359 |
"text": "incompatible import type" |
| 360 |
}, |
| 361 |
{ |
| 362 |
"type": "module", |
| 363 |
"line": 261, |
| 364 |
"filename": "imports.42.wasm", |
| 365 |
"module_type": "binary" |
| 366 |
}, |
| 367 |
{ |
| 368 |
"type": "assert_return", |
| 369 |
"line": 281, |
| 370 |
"action": { |
| 371 |
"type": "invoke", |
| 372 |
"field": "get-0", |
| 373 |
"args": [] |
| 374 |
}, |
| 375 |
"expected": [ |
| 376 |
{ |
| 377 |
"type": "i32", |
| 378 |
"value": "666" |
| 379 |
} |
| 380 |
] |
| 381 |
}, |
| 382 |
{ |
| 383 |
"type": "assert_return", |
| 384 |
"line": 282, |
| 385 |
"action": { |
| 386 |
"type": "invoke", |
| 387 |
"field": "get-1", |
| 388 |
"args": [] |
| 389 |
}, |
| 390 |
"expected": [ |
| 391 |
{ |
| 392 |
"type": "i32", |
| 393 |
"value": "666" |
| 394 |
} |
| 395 |
] |
| 396 |
}, |
| 397 |
{ |
| 398 |
"type": "assert_return", |
| 399 |
"line": 283, |
| 400 |
"action": { |
| 401 |
"type": "invoke", |
| 402 |
"field": "get-x", |
| 403 |
"args": [] |
| 404 |
}, |
| 405 |
"expected": [ |
| 406 |
{ |
| 407 |
"type": "i32", |
| 408 |
"value": "666" |
| 409 |
} |
| 410 |
] |
| 411 |
}, |
| 412 |
{ |
| 413 |
"type": "assert_return", |
| 414 |
"line": 284, |
| 415 |
"action": { |
| 416 |
"type": "invoke", |
| 417 |
"field": "get-y", |
| 418 |
"args": [] |
| 419 |
}, |
| 420 |
"expected": [ |
| 421 |
{ |
| 422 |
"type": "i32", |
| 423 |
"value": "666" |
| 424 |
} |
| 425 |
] |
| 426 |
}, |
| 427 |
{ |
| 428 |
"type": "assert_return", |
| 429 |
"line": 285, |
| 430 |
"action": { |
| 431 |
"type": "invoke", |
| 432 |
"field": "get-4", |
| 433 |
"args": [] |
| 434 |
}, |
| 435 |
"expected": [ |
| 436 |
{ |
| 437 |
"type": "i64", |
| 438 |
"value": "666" |
| 439 |
} |
| 440 |
] |
| 441 |
}, |
| 442 |
{ |
| 443 |
"type": "assert_return", |
| 444 |
"line": 286, |
| 445 |
"action": { |
| 446 |
"type": "invoke", |
| 447 |
"field": "get-5", |
| 448 |
"args": [] |
| 449 |
}, |
| 450 |
"expected": [ |
| 451 |
{ |
| 452 |
"type": "f32", |
| 453 |
"value": "1143383654" |
| 454 |
} |
| 455 |
] |
| 456 |
}, |
| 457 |
{ |
| 458 |
"type": "assert_return", |
| 459 |
"line": 287, |
| 460 |
"action": { |
| 461 |
"type": "invoke", |
| 462 |
"field": "get-6", |
| 463 |
"args": [] |
| 464 |
}, |
| 465 |
"expected": [ |
| 466 |
{ |
| 467 |
"type": "f64", |
| 468 |
"value": "4649074691427585229" |
| 469 |
} |
| 470 |
] |
| 471 |
}, |
| 472 |
{ |
| 473 |
"type": "module", |
| 474 |
"line": 289, |
| 475 |
"filename": "imports.43.wasm", |
| 476 |
"module_type": "binary" |
| 477 |
}, |
| 478 |
{ |
| 479 |
"type": "module", |
| 480 |
"line": 290, |
| 481 |
"filename": "imports.44.wasm", |
| 482 |
"module_type": "binary" |
| 483 |
}, |
| 484 |
{ |
| 485 |
"type": "module", |
| 486 |
"line": 291, |
| 487 |
"filename": "imports.45.wasm", |
| 488 |
"module_type": "binary" |
| 489 |
}, |
| 490 |
{ |
| 491 |
"type": "assert_unlinkable", |
| 492 |
"line": 294, |
| 493 |
"filename": "imports.46.wasm", |
| 494 |
"module_type": "binary", |
| 495 |
"text": "unknown import" |
| 496 |
}, |
| 497 |
{ |
| 498 |
"type": "assert_unlinkable", |
| 499 |
"line": 298, |
| 500 |
"filename": "imports.47.wasm", |
| 501 |
"module_type": "binary", |
| 502 |
"text": "unknown import" |
| 503 |
}, |
| 504 |
{ |
| 505 |
"type": "assert_unlinkable", |
| 506 |
"line": 303, |
| 507 |
"filename": "imports.48.wasm", |
| 508 |
"module_type": "binary", |
| 509 |
"text": "incompatible import type" |
| 510 |
}, |
| 511 |
{ |
| 512 |
"type": "assert_unlinkable", |
| 513 |
"line": 307, |
| 514 |
"filename": "imports.49.wasm", |
| 515 |
"module_type": "binary", |
| 516 |
"text": "incompatible import type" |
| 517 |
}, |
| 518 |
{ |
| 519 |
"type": "assert_unlinkable", |
| 520 |
"line": 311, |
| 521 |
"filename": "imports.50.wasm", |
| 522 |
"module_type": "binary", |
| 523 |
"text": "incompatible import type" |
| 524 |
}, |
| 525 |
{ |
| 526 |
"type": "assert_unlinkable", |
| 527 |
"line": 315, |
| 528 |
"filename": "imports.51.wasm", |
| 529 |
"module_type": "binary", |
| 530 |
"text": "incompatible import type" |
| 531 |
}, |
| 532 |
{ |
| 533 |
"type": "assert_unlinkable", |
| 534 |
"line": 319, |
| 535 |
"filename": "imports.52.wasm", |
| 536 |
"module_type": "binary", |
| 537 |
"text": "incompatible import type" |
| 538 |
}, |
| 539 |
{ |
| 540 |
"type": "assert_unlinkable", |
| 541 |
"line": 323, |
| 542 |
"filename": "imports.53.wasm", |
| 543 |
"module_type": "binary", |
| 544 |
"text": "incompatible import type" |
| 545 |
}, |
| 546 |
{ |
| 547 |
"type": "assert_unlinkable", |
| 548 |
"line": 327, |
| 549 |
"filename": "imports.54.wasm", |
| 550 |
"module_type": "binary", |
| 551 |
"text": "incompatible import type" |
| 552 |
}, |
| 553 |
{ |
| 554 |
"type": "assert_unlinkable", |
| 555 |
"line": 331, |
| 556 |
"filename": "imports.55.wasm", |
| 557 |
"module_type": "binary", |
| 558 |
"text": "incompatible import type" |
| 559 |
}, |
| 560 |
{ |
| 561 |
"type": "assert_unlinkable", |
| 562 |
"line": 335, |
| 563 |
"filename": "imports.56.wasm", |
| 564 |
"module_type": "binary", |
| 565 |
"text": "incompatible import type" |
| 566 |
}, |
| 567 |
{ |
| 568 |
"type": "assert_unlinkable", |
| 569 |
"line": 339, |
| 570 |
"filename": "imports.57.wasm", |
| 571 |
"module_type": "binary", |
| 572 |
"text": "incompatible import type" |
| 573 |
}, |
| 574 |
{ |
| 575 |
"type": "assert_unlinkable", |
| 576 |
"line": 343, |
| 577 |
"filename": "imports.58.wasm", |
| 578 |
"module_type": "binary", |
| 579 |
"text": "incompatible import type" |
| 580 |
}, |
| 581 |
{ |
| 582 |
"type": "assert_unlinkable", |
| 583 |
"line": 347, |
| 584 |
"filename": "imports.59.wasm", |
| 585 |
"module_type": "binary", |
| 586 |
"text": "incompatible import type" |
| 587 |
}, |
| 588 |
{ |
| 589 |
"type": "assert_unlinkable", |
| 590 |
"line": 352, |
| 591 |
"filename": "imports.60.wasm", |
| 592 |
"module_type": "binary", |
| 593 |
"text": "incompatible import type" |
| 594 |
}, |
| 595 |
{ |
| 596 |
"type": "assert_unlinkable", |
| 597 |
"line": 356, |
| 598 |
"filename": "imports.61.wasm", |
| 599 |
"module_type": "binary", |
| 600 |
"text": "incompatible import type" |
| 601 |
}, |
| 602 |
{ |
| 603 |
"type": "assert_unlinkable", |
| 604 |
"line": 360, |
| 605 |
"filename": "imports.62.wasm", |
| 606 |
"module_type": "binary", |
| 607 |
"text": "incompatible import type" |
| 608 |
}, |
| 609 |
{ |
| 610 |
"type": "assert_unlinkable", |
| 611 |
"line": 364, |
| 612 |
"filename": "imports.63.wasm", |
| 613 |
"module_type": "binary", |
| 614 |
"text": "incompatible import type" |
| 615 |
}, |
| 616 |
{ |
| 617 |
"type": "assert_unlinkable", |
| 618 |
"line": 368, |
| 619 |
"filename": "imports.64.wasm", |
| 620 |
"module_type": "binary", |
| 621 |
"text": "incompatible import type" |
| 622 |
}, |
| 623 |
{ |
| 624 |
"type": "assert_unlinkable", |
| 625 |
"line": 372, |
| 626 |
"filename": "imports.65.wasm", |
| 627 |
"module_type": "binary", |
| 628 |
"text": "incompatible import type" |
| 629 |
}, |
| 630 |
{ |
| 631 |
"type": "module", |
| 632 |
"line": 379, |
| 633 |
"filename": "imports.66.wasm", |
| 634 |
"module_type": "binary" |
| 635 |
}, |
| 636 |
{ |
| 637 |
"type": "assert_trap", |
| 638 |
"line": 392, |
| 639 |
"action": { |
| 640 |
"type": "invoke", |
| 641 |
"field": "call", |
| 642 |
"args": [ |
| 643 |
{ |
| 644 |
"type": "i32", |
| 645 |
"value": "0" |
| 646 |
} |
| 647 |
] |
| 648 |
}, |
| 649 |
"text": "uninitialized element" |
| 650 |
}, |
| 651 |
{ |
| 652 |
"type": "assert_return", |
| 653 |
"line": 393, |
| 654 |
"action": { |
| 655 |
"type": "invoke", |
| 656 |
"field": "call", |
| 657 |
"args": [ |
| 658 |
{ |
| 659 |
"type": "i32", |
| 660 |
"value": "1" |
| 661 |
} |
| 662 |
] |
| 663 |
}, |
| 664 |
"expected": [ |
| 665 |
{ |
| 666 |
"type": "i32", |
| 667 |
"value": "11" |
| 668 |
} |
| 669 |
] |
| 670 |
}, |
| 671 |
{ |
| 672 |
"type": "assert_return", |
| 673 |
"line": 394, |
| 674 |
"action": { |
| 675 |
"type": "invoke", |
| 676 |
"field": "call", |
| 677 |
"args": [ |
| 678 |
{ |
| 679 |
"type": "i32", |
| 680 |
"value": "2" |
| 681 |
} |
| 682 |
] |
| 683 |
}, |
| 684 |
"expected": [ |
| 685 |
{ |
| 686 |
"type": "i32", |
| 687 |
"value": "22" |
| 688 |
} |
| 689 |
] |
| 690 |
}, |
| 691 |
{ |
| 692 |
"type": "assert_trap", |
| 693 |
"line": 395, |
| 694 |
"action": { |
| 695 |
"type": "invoke", |
| 696 |
"field": "call", |
| 697 |
"args": [ |
| 698 |
{ |
| 699 |
"type": "i32", |
| 700 |
"value": "3" |
| 701 |
} |
| 702 |
] |
| 703 |
}, |
| 704 |
"text": "uninitialized element" |
| 705 |
}, |
| 706 |
{ |
| 707 |
"type": "assert_trap", |
| 708 |
"line": 396, |
| 709 |
"action": { |
| 710 |
"type": "invoke", |
| 711 |
"field": "call", |
| 712 |
"args": [ |
| 713 |
{ |
| 714 |
"type": "i32", |
| 715 |
"value": "100" |
| 716 |
} |
| 717 |
] |
| 718 |
}, |
| 719 |
"text": "undefined element" |
| 720 |
}, |
| 721 |
{ |
| 722 |
"type": "module", |
| 723 |
"line": 399, |
| 724 |
"filename": "imports.67.wasm", |
| 725 |
"module_type": "binary" |
| 726 |
}, |
| 727 |
{ |
| 728 |
"type": "assert_trap", |
| 729 |
"line": 412, |
| 730 |
"action": { |
| 731 |
"type": "invoke", |
| 732 |
"field": "call", |
| 733 |
"args": [ |
| 734 |
{ |
| 735 |
"type": "i32", |
| 736 |
"value": "0" |
| 737 |
} |
| 738 |
] |
| 739 |
}, |
| 740 |
"text": "uninitialized element" |
| 741 |
}, |
| 742 |
{ |
| 743 |
"type": "assert_return", |
| 744 |
"line": 413, |
| 745 |
"action": { |
| 746 |
"type": "invoke", |
| 747 |
"field": "call", |
| 748 |
"args": [ |
| 749 |
{ |
| 750 |
"type": "i32", |
| 751 |
"value": "1" |
| 752 |
} |
| 753 |
] |
| 754 |
}, |
| 755 |
"expected": [ |
| 756 |
{ |
| 757 |
"type": "i32", |
| 758 |
"value": "11" |
| 759 |
} |
| 760 |
] |
| 761 |
}, |
| 762 |
{ |
| 763 |
"type": "assert_return", |
| 764 |
"line": 414, |
| 765 |
"action": { |
| 766 |
"type": "invoke", |
| 767 |
"field": "call", |
| 768 |
"args": [ |
| 769 |
{ |
| 770 |
"type": "i32", |
| 771 |
"value": "2" |
| 772 |
} |
| 773 |
] |
| 774 |
}, |
| 775 |
"expected": [ |
| 776 |
{ |
| 777 |
"type": "i32", |
| 778 |
"value": "22" |
| 779 |
} |
| 780 |
] |
| 781 |
}, |
| 782 |
{ |
| 783 |
"type": "assert_trap", |
| 784 |
"line": 415, |
| 785 |
"action": { |
| 786 |
"type": "invoke", |
| 787 |
"field": "call", |
| 788 |
"args": [ |
| 789 |
{ |
| 790 |
"type": "i32", |
| 791 |
"value": "3" |
| 792 |
} |
| 793 |
] |
| 794 |
}, |
| 795 |
"text": "uninitialized element" |
| 796 |
}, |
| 797 |
{ |
| 798 |
"type": "assert_trap", |
| 799 |
"line": 416, |
| 800 |
"action": { |
| 801 |
"type": "invoke", |
| 802 |
"field": "call", |
| 803 |
"args": [ |
| 804 |
{ |
| 805 |
"type": "i32", |
| 806 |
"value": "100" |
| 807 |
} |
| 808 |
] |
| 809 |
}, |
| 810 |
"text": "undefined element" |
| 811 |
}, |
| 812 |
{ |
| 813 |
"type": "module", |
| 814 |
"line": 418, |
| 815 |
"filename": "imports.68.wasm", |
| 816 |
"module_type": "binary" |
| 817 |
}, |
| 818 |
{ |
| 819 |
"type": "module", |
| 820 |
"line": 429, |
| 821 |
"filename": "imports.69.wasm", |
| 822 |
"module_type": "binary" |
| 823 |
}, |
| 824 |
{ |
| 825 |
"type": "module", |
| 826 |
"line": 430, |
| 827 |
"filename": "imports.70.wasm", |
| 828 |
"module_type": "binary" |
| 829 |
}, |
| 830 |
{ |
| 831 |
"type": "module", |
| 832 |
"line": 431, |
| 833 |
"filename": "imports.71.wasm", |
| 834 |
"module_type": "binary" |
| 835 |
}, |
| 836 |
{ |
| 837 |
"type": "module", |
| 838 |
"line": 432, |
| 839 |
"filename": "imports.72.wasm", |
| 840 |
"module_type": "binary" |
| 841 |
}, |
| 842 |
{ |
| 843 |
"type": "module", |
| 844 |
"line": 433, |
| 845 |
"filename": "imports.73.wasm", |
| 846 |
"module_type": "binary" |
| 847 |
}, |
| 848 |
{ |
| 849 |
"type": "module", |
| 850 |
"line": 434, |
| 851 |
"filename": "imports.74.wasm", |
| 852 |
"module_type": "binary" |
| 853 |
}, |
| 854 |
{ |
| 855 |
"type": "module", |
| 856 |
"line": 435, |
| 857 |
"filename": "imports.75.wasm", |
| 858 |
"module_type": "binary" |
| 859 |
}, |
| 860 |
{ |
| 861 |
"type": "module", |
| 862 |
"line": 436, |
| 863 |
"filename": "imports.76.wasm", |
| 864 |
"module_type": "binary" |
| 865 |
}, |
| 866 |
{ |
| 867 |
"type": "module", |
| 868 |
"line": 437, |
| 869 |
"filename": "imports.77.wasm", |
| 870 |
"module_type": "binary" |
| 871 |
}, |
| 872 |
{ |
| 873 |
"type": "module", |
| 874 |
"line": 438, |
| 875 |
"filename": "imports.78.wasm", |
| 876 |
"module_type": "binary" |
| 877 |
}, |
| 878 |
{ |
| 879 |
"type": "module", |
| 880 |
"line": 439, |
| 881 |
"filename": "imports.79.wasm", |
| 882 |
"module_type": "binary" |
| 883 |
}, |
| 884 |
{ |
| 885 |
"type": "module", |
| 886 |
"line": 440, |
| 887 |
"filename": "imports.80.wasm", |
| 888 |
"module_type": "binary" |
| 889 |
}, |
| 890 |
{ |
| 891 |
"type": "module", |
| 892 |
"line": 441, |
| 893 |
"filename": "imports.81.wasm", |
| 894 |
"module_type": "binary" |
| 895 |
}, |
| 896 |
{ |
| 897 |
"type": "module", |
| 898 |
"line": 442, |
| 899 |
"filename": "imports.82.wasm", |
| 900 |
"module_type": "binary" |
| 901 |
}, |
| 902 |
{ |
| 903 |
"type": "module", |
| 904 |
"line": 443, |
| 905 |
"filename": "imports.83.wasm", |
| 906 |
"module_type": "binary" |
| 907 |
}, |
| 908 |
{ |
| 909 |
"type": "module", |
| 910 |
"line": 444, |
| 911 |
"filename": "imports.84.wasm", |
| 912 |
"module_type": "binary" |
| 913 |
}, |
| 914 |
{ |
| 915 |
"type": "module", |
| 916 |
"line": 445, |
| 917 |
"filename": "imports.85.wasm", |
| 918 |
"module_type": "binary" |
| 919 |
}, |
| 920 |
{ |
| 921 |
"type": "module", |
| 922 |
"line": 446, |
| 923 |
"filename": "imports.86.wasm", |
| 924 |
"module_type": "binary" |
| 925 |
}, |
| 926 |
{ |
| 927 |
"type": "module", |
| 928 |
"line": 447, |
| 929 |
"filename": "imports.87.wasm", |
| 930 |
"module_type": "binary" |
| 931 |
}, |
| 932 |
{ |
| 933 |
"type": "module", |
| 934 |
"line": 448, |
| 935 |
"filename": "imports.88.wasm", |
| 936 |
"module_type": "binary" |
| 937 |
}, |
| 938 |
{ |
| 939 |
"type": "module", |
| 940 |
"line": 449, |
| 941 |
"filename": "imports.89.wasm", |
| 942 |
"module_type": "binary" |
| 943 |
}, |
| 944 |
{ |
| 945 |
"type": "module", |
| 946 |
"line": 450, |
| 947 |
"filename": "imports.90.wasm", |
| 948 |
"module_type": "binary" |
| 949 |
}, |
| 950 |
{ |
| 951 |
"type": "module", |
| 952 |
"line": 451, |
| 953 |
"filename": "imports.91.wasm", |
| 954 |
"module_type": "binary" |
| 955 |
}, |
| 956 |
{ |
| 957 |
"type": "module", |
| 958 |
"line": 452, |
| 959 |
"filename": "imports.92.wasm", |
| 960 |
"module_type": "binary" |
| 961 |
}, |
| 962 |
{ |
| 963 |
"type": "module", |
| 964 |
"line": 453, |
| 965 |
"filename": "imports.93.wasm", |
| 966 |
"module_type": "binary" |
| 967 |
}, |
| 968 |
{ |
| 969 |
"type": "module", |
| 970 |
"line": 454, |
| 971 |
"filename": "imports.94.wasm", |
| 972 |
"module_type": "binary" |
| 973 |
}, |
| 974 |
{ |
| 975 |
"type": "module", |
| 976 |
"line": 455, |
| 977 |
"filename": "imports.95.wasm", |
| 978 |
"module_type": "binary" |
| 979 |
}, |
| 980 |
{ |
| 981 |
"type": "module", |
| 982 |
"line": 456, |
| 983 |
"filename": "imports.96.wasm", |
| 984 |
"module_type": "binary" |
| 985 |
}, |
| 986 |
{ |
| 987 |
"type": "module", |
| 988 |
"line": 457, |
| 989 |
"filename": "imports.97.wasm", |
| 990 |
"module_type": "binary" |
| 991 |
}, |
| 992 |
{ |
| 993 |
"type": "module", |
| 994 |
"line": 458, |
| 995 |
"filename": "imports.98.wasm", |
| 996 |
"module_type": "binary" |
| 997 |
}, |
| 998 |
{ |
| 999 |
"type": "module", |
| 1000 |
"line": 459, |
| 1001 |
"filename": "imports.99.wasm", |
| 1002 |
"module_type": "binary" |
| 1003 |
}, |
| 1004 |
{ |
| 1005 |
"type": "module", |
| 1006 |
"line": 460, |
| 1007 |
"filename": "imports.100.wasm", |
| 1008 |
"module_type": "binary" |
| 1009 |
}, |
| 1010 |
{ |
| 1011 |
"type": "assert_unlinkable", |
| 1012 |
"line": 463, |
| 1013 |
"filename": "imports.101.wasm", |
| 1014 |
"module_type": "binary", |
| 1015 |
"text": "unknown import" |
| 1016 |
}, |
| 1017 |
{ |
| 1018 |
"type": "assert_unlinkable", |
| 1019 |
"line": 467, |
| 1020 |
"filename": "imports.102.wasm", |
| 1021 |
"module_type": "binary", |
| 1022 |
"text": "unknown import" |
| 1023 |
}, |
| 1024 |
{ |
| 1025 |
"type": "assert_unlinkable", |
| 1026 |
"line": 472, |
| 1027 |
"filename": "imports.103.wasm", |
| 1028 |
"module_type": "binary", |
| 1029 |
"text": "incompatible import type" |
| 1030 |
}, |
| 1031 |
{ |
| 1032 |
"type": "assert_unlinkable", |
| 1033 |
"line": 476, |
| 1034 |
"filename": "imports.104.wasm", |
| 1035 |
"module_type": "binary", |
| 1036 |
"text": "incompatible import type" |
| 1037 |
}, |
| 1038 |
{ |
| 1039 |
"type": "assert_unlinkable", |
| 1040 |
"line": 480, |
| 1041 |
"filename": "imports.105.wasm", |
| 1042 |
"module_type": "binary", |
| 1043 |
"text": "incompatible import type" |
| 1044 |
}, |
| 1045 |
{ |
| 1046 |
"type": "assert_unlinkable", |
| 1047 |
"line": 484, |
| 1048 |
"filename": "imports.106.wasm", |
| 1049 |
"module_type": "binary", |
| 1050 |
"text": "incompatible import type" |
| 1051 |
}, |
| 1052 |
{ |
| 1053 |
"type": "assert_unlinkable", |
| 1054 |
"line": 488, |
| 1055 |
"filename": "imports.107.wasm", |
| 1056 |
"module_type": "binary", |
| 1057 |
"text": "incompatible import type" |
| 1058 |
}, |
| 1059 |
{ |
| 1060 |
"type": "assert_unlinkable", |
| 1061 |
"line": 492, |
| 1062 |
"filename": "imports.108.wasm", |
| 1063 |
"module_type": "binary", |
| 1064 |
"text": "incompatible import type" |
| 1065 |
}, |
| 1066 |
{ |
| 1067 |
"type": "assert_unlinkable", |
| 1068 |
"line": 496, |
| 1069 |
"filename": "imports.109.wasm", |
| 1070 |
"module_type": "binary", |
| 1071 |
"text": "incompatible import type" |
| 1072 |
}, |
| 1073 |
{ |
| 1074 |
"type": "assert_unlinkable", |
| 1075 |
"line": 500, |
| 1076 |
"filename": "imports.110.wasm", |
| 1077 |
"module_type": "binary", |
| 1078 |
"text": "incompatible import type" |
| 1079 |
}, |
| 1080 |
{ |
| 1081 |
"type": "assert_unlinkable", |
| 1082 |
"line": 504, |
| 1083 |
"filename": "imports.111.wasm", |
| 1084 |
"module_type": "binary", |
| 1085 |
"text": "incompatible import type" |
| 1086 |
}, |
| 1087 |
{ |
| 1088 |
"type": "assert_unlinkable", |
| 1089 |
"line": 508, |
| 1090 |
"filename": "imports.112.wasm", |
| 1091 |
"module_type": "binary", |
| 1092 |
"text": "incompatible import type" |
| 1093 |
}, |
| 1094 |
{ |
| 1095 |
"type": "assert_unlinkable", |
| 1096 |
"line": 513, |
| 1097 |
"filename": "imports.113.wasm", |
| 1098 |
"module_type": "binary", |
| 1099 |
"text": "incompatible import type" |
| 1100 |
}, |
| 1101 |
{ |
| 1102 |
"type": "assert_unlinkable", |
| 1103 |
"line": 517, |
| 1104 |
"filename": "imports.114.wasm", |
| 1105 |
"module_type": "binary", |
| 1106 |
"text": "incompatible import type" |
| 1107 |
}, |
| 1108 |
{ |
| 1109 |
"type": "assert_unlinkable", |
| 1110 |
"line": 521, |
| 1111 |
"filename": "imports.115.wasm", |
| 1112 |
"module_type": "binary", |
| 1113 |
"text": "incompatible import type" |
| 1114 |
}, |
| 1115 |
{ |
| 1116 |
"type": "assert_unlinkable", |
| 1117 |
"line": 525, |
| 1118 |
"filename": "imports.116.wasm", |
| 1119 |
"module_type": "binary", |
| 1120 |
"text": "incompatible import type" |
| 1121 |
}, |
| 1122 |
{ |
| 1123 |
"type": "assert_unlinkable", |
| 1124 |
"line": 530, |
| 1125 |
"filename": "imports.117.wasm", |
| 1126 |
"module_type": "binary", |
| 1127 |
"text": "incompatible import type" |
| 1128 |
}, |
| 1129 |
{ |
| 1130 |
"type": "assert_unlinkable", |
| 1131 |
"line": 534, |
| 1132 |
"filename": "imports.118.wasm", |
| 1133 |
"module_type": "binary", |
| 1134 |
"text": "incompatible import type" |
| 1135 |
}, |
| 1136 |
{ |
| 1137 |
"type": "assert_unlinkable", |
| 1138 |
"line": 538, |
| 1139 |
"filename": "imports.119.wasm", |
| 1140 |
"module_type": "binary", |
| 1141 |
"text": "incompatible import type" |
| 1142 |
}, |
| 1143 |
{ |
| 1144 |
"type": "assert_unlinkable", |
| 1145 |
"line": 542, |
| 1146 |
"filename": "imports.120.wasm", |
| 1147 |
"module_type": "binary", |
| 1148 |
"text": "incompatible import type" |
| 1149 |
}, |
| 1150 |
{ |
| 1151 |
"type": "module", |
| 1152 |
"line": 549, |
| 1153 |
"filename": "imports.121.wasm", |
| 1154 |
"module_type": "binary" |
| 1155 |
}, |
| 1156 |
{ |
| 1157 |
"type": "assert_return", |
| 1158 |
"line": 558, |
| 1159 |
"action": { |
| 1160 |
"type": "invoke", |
| 1161 |
"field": "load", |
| 1162 |
"args": [ |
| 1163 |
{ |
| 1164 |
"type": "i32", |
| 1165 |
"value": "0" |
| 1166 |
} |
| 1167 |
] |
| 1168 |
}, |
| 1169 |
"expected": [ |
| 1170 |
{ |
| 1171 |
"type": "i32", |
| 1172 |
"value": "0" |
| 1173 |
} |
| 1174 |
] |
| 1175 |
}, |
| 1176 |
{ |
| 1177 |
"type": "assert_return", |
| 1178 |
"line": 559, |
| 1179 |
"action": { |
| 1180 |
"type": "invoke", |
| 1181 |
"field": "load", |
| 1182 |
"args": [ |
| 1183 |
{ |
| 1184 |
"type": "i32", |
| 1185 |
"value": "10" |
| 1186 |
} |
| 1187 |
] |
| 1188 |
}, |
| 1189 |
"expected": [ |
| 1190 |
{ |
| 1191 |
"type": "i32", |
| 1192 |
"value": "16" |
| 1193 |
} |
| 1194 |
] |
| 1195 |
}, |
| 1196 |
{ |
| 1197 |
"type": "assert_return", |
| 1198 |
"line": 560, |
| 1199 |
"action": { |
| 1200 |
"type": "invoke", |
| 1201 |
"field": "load", |
| 1202 |
"args": [ |
| 1203 |
{ |
| 1204 |
"type": "i32", |
| 1205 |
"value": "8" |
| 1206 |
} |
| 1207 |
] |
| 1208 |
}, |
| 1209 |
"expected": [ |
| 1210 |
{ |
| 1211 |
"type": "i32", |
| 1212 |
"value": "1048576" |
| 1213 |
} |
| 1214 |
] |
| 1215 |
}, |
| 1216 |
{ |
| 1217 |
"type": "assert_trap", |
| 1218 |
"line": 561, |
| 1219 |
"action": { |
| 1220 |
"type": "invoke", |
| 1221 |
"field": "load", |
| 1222 |
"args": [ |
| 1223 |
{ |
| 1224 |
"type": "i32", |
| 1225 |
"value": "1000000" |
| 1226 |
} |
| 1227 |
] |
| 1228 |
}, |
| 1229 |
"text": "out of bounds memory access" |
| 1230 |
}, |
| 1231 |
{ |
| 1232 |
"type": "module", |
| 1233 |
"line": 563, |
| 1234 |
"filename": "imports.122.wasm", |
| 1235 |
"module_type": "binary" |
| 1236 |
}, |
| 1237 |
{ |
| 1238 |
"type": "assert_return", |
| 1239 |
"line": 571, |
| 1240 |
"action": { |
| 1241 |
"type": "invoke", |
| 1242 |
"field": "load", |
| 1243 |
"args": [ |
| 1244 |
{ |
| 1245 |
"type": "i32", |
| 1246 |
"value": "0" |
| 1247 |
} |
| 1248 |
] |
| 1249 |
}, |
| 1250 |
"expected": [ |
| 1251 |
{ |
| 1252 |
"type": "i32", |
| 1253 |
"value": "0" |
| 1254 |
} |
| 1255 |
] |
| 1256 |
}, |
| 1257 |
{ |
| 1258 |
"type": "assert_return", |
| 1259 |
"line": 572, |
| 1260 |
"action": { |
| 1261 |
"type": "invoke", |
| 1262 |
"field": "load", |
| 1263 |
"args": [ |
| 1264 |
{ |
| 1265 |
"type": "i32", |
| 1266 |
"value": "10" |
| 1267 |
} |
| 1268 |
] |
| 1269 |
}, |
| 1270 |
"expected": [ |
| 1271 |
{ |
| 1272 |
"type": "i32", |
| 1273 |
"value": "16" |
| 1274 |
} |
| 1275 |
] |
| 1276 |
}, |
| 1277 |
{ |
| 1278 |
"type": "assert_return", |
| 1279 |
"line": 573, |
| 1280 |
"action": { |
| 1281 |
"type": "invoke", |
| 1282 |
"field": "load", |
| 1283 |
"args": [ |
| 1284 |
{ |
| 1285 |
"type": "i32", |
| 1286 |
"value": "8" |
| 1287 |
} |
| 1288 |
] |
| 1289 |
}, |
| 1290 |
"expected": [ |
| 1291 |
{ |
| 1292 |
"type": "i32", |
| 1293 |
"value": "1048576" |
| 1294 |
} |
| 1295 |
] |
| 1296 |
}, |
| 1297 |
{ |
| 1298 |
"type": "assert_trap", |
| 1299 |
"line": 574, |
| 1300 |
"action": { |
| 1301 |
"type": "invoke", |
| 1302 |
"field": "load", |
| 1303 |
"args": [ |
| 1304 |
{ |
| 1305 |
"type": "i32", |
| 1306 |
"value": "1000000" |
| 1307 |
} |
| 1308 |
] |
| 1309 |
}, |
| 1310 |
"text": "out of bounds memory access" |
| 1311 |
}, |
| 1312 |
{ |
| 1313 |
"type": "module", |
| 1314 |
"line": 576, |
| 1315 |
"filename": "imports.123.wasm", |
| 1316 |
"module_type": "binary" |
| 1317 |
}, |
| 1318 |
{ |
| 1319 |
"type": "module", |
| 1320 |
"line": 577, |
| 1321 |
"filename": "imports.124.wasm", |
| 1322 |
"module_type": "binary" |
| 1323 |
}, |
| 1324 |
{ |
| 1325 |
"type": "module", |
| 1326 |
"line": 578, |
| 1327 |
"filename": "imports.125.wasm", |
| 1328 |
"module_type": "binary" |
| 1329 |
}, |
| 1330 |
{ |
| 1331 |
"type": "module", |
| 1332 |
"line": 579, |
| 1333 |
"filename": "imports.126.wasm", |
| 1334 |
"module_type": "binary" |
| 1335 |
}, |
| 1336 |
{ |
| 1337 |
"type": "module", |
| 1338 |
"line": 580, |
| 1339 |
"filename": "imports.127.wasm", |
| 1340 |
"module_type": "binary" |
| 1341 |
}, |
| 1342 |
{ |
| 1343 |
"type": "module", |
| 1344 |
"line": 581, |
| 1345 |
"filename": "imports.128.wasm", |
| 1346 |
"module_type": "binary" |
| 1347 |
}, |
| 1348 |
{ |
| 1349 |
"type": "module", |
| 1350 |
"line": 582, |
| 1351 |
"filename": "imports.129.wasm", |
| 1352 |
"module_type": "binary" |
| 1353 |
}, |
| 1354 |
{ |
| 1355 |
"type": "module", |
| 1356 |
"line": 583, |
| 1357 |
"filename": "imports.130.wasm", |
| 1358 |
"module_type": "binary" |
| 1359 |
}, |
| 1360 |
{ |
| 1361 |
"type": "module", |
| 1362 |
"line": 584, |
| 1363 |
"filename": "imports.131.wasm", |
| 1364 |
"module_type": "binary" |
| 1365 |
}, |
| 1366 |
{ |
| 1367 |
"type": "module", |
| 1368 |
"line": 585, |
| 1369 |
"filename": "imports.132.wasm", |
| 1370 |
"module_type": "binary" |
| 1371 |
}, |
| 1372 |
{ |
| 1373 |
"type": "module", |
| 1374 |
"line": 586, |
| 1375 |
"filename": "imports.133.wasm", |
| 1376 |
"module_type": "binary" |
| 1377 |
}, |
| 1378 |
{ |
| 1379 |
"type": "module", |
| 1380 |
"line": 587, |
| 1381 |
"filename": "imports.134.wasm", |
| 1382 |
"module_type": "binary" |
| 1383 |
}, |
| 1384 |
{ |
| 1385 |
"type": "module", |
| 1386 |
"line": 588, |
| 1387 |
"filename": "imports.135.wasm", |
| 1388 |
"module_type": "binary" |
| 1389 |
}, |
| 1390 |
{ |
| 1391 |
"type": "module", |
| 1392 |
"line": 589, |
| 1393 |
"filename": "imports.136.wasm", |
| 1394 |
"module_type": "binary" |
| 1395 |
}, |
| 1396 |
{ |
| 1397 |
"type": "module", |
| 1398 |
"line": 590, |
| 1399 |
"filename": "imports.137.wasm", |
| 1400 |
"module_type": "binary" |
| 1401 |
}, |
| 1402 |
{ |
| 1403 |
"type": "module", |
| 1404 |
"line": 591, |
| 1405 |
"filename": "imports.138.wasm", |
| 1406 |
"module_type": "binary" |
| 1407 |
}, |
| 1408 |
{ |
| 1409 |
"type": "module", |
| 1410 |
"line": 592, |
| 1411 |
"filename": "imports.139.wasm", |
| 1412 |
"module_type": "binary" |
| 1413 |
}, |
| 1414 |
{ |
| 1415 |
"type": "module", |
| 1416 |
"line": 593, |
| 1417 |
"filename": "imports.140.wasm", |
| 1418 |
"module_type": "binary" |
| 1419 |
}, |
| 1420 |
{ |
| 1421 |
"type": "module", |
| 1422 |
"line": 594, |
| 1423 |
"filename": "imports.141.wasm", |
| 1424 |
"module_type": "binary" |
| 1425 |
}, |
| 1426 |
{ |
| 1427 |
"type": "module", |
| 1428 |
"line": 595, |
| 1429 |
"filename": "imports.142.wasm", |
| 1430 |
"module_type": "binary" |
| 1431 |
}, |
| 1432 |
{ |
| 1433 |
"type": "module", |
| 1434 |
"line": 596, |
| 1435 |
"filename": "imports.143.wasm", |
| 1436 |
"module_type": "binary" |
| 1437 |
}, |
| 1438 |
{ |
| 1439 |
"type": "module", |
| 1440 |
"line": 597, |
| 1441 |
"filename": "imports.144.wasm", |
| 1442 |
"module_type": "binary" |
| 1443 |
}, |
| 1444 |
{ |
| 1445 |
"type": "module", |
| 1446 |
"line": 598, |
| 1447 |
"filename": "imports.145.wasm", |
| 1448 |
"module_type": "binary" |
| 1449 |
}, |
| 1450 |
{ |
| 1451 |
"type": "module", |
| 1452 |
"line": 599, |
| 1453 |
"filename": "imports.146.wasm", |
| 1454 |
"module_type": "binary" |
| 1455 |
}, |
| 1456 |
{ |
| 1457 |
"type": "module", |
| 1458 |
"line": 600, |
| 1459 |
"filename": "imports.147.wasm", |
| 1460 |
"module_type": "binary" |
| 1461 |
}, |
| 1462 |
{ |
| 1463 |
"type": "module", |
| 1464 |
"line": 601, |
| 1465 |
"filename": "imports.148.wasm", |
| 1466 |
"module_type": "binary" |
| 1467 |
}, |
| 1468 |
{ |
| 1469 |
"type": "module", |
| 1470 |
"line": 602, |
| 1471 |
"filename": "imports.149.wasm", |
| 1472 |
"module_type": "binary" |
| 1473 |
}, |
| 1474 |
{ |
| 1475 |
"type": "module", |
| 1476 |
"line": 603, |
| 1477 |
"filename": "imports.150.wasm", |
| 1478 |
"module_type": "binary" |
| 1479 |
}, |
| 1480 |
{ |
| 1481 |
"type": "module", |
| 1482 |
"line": 604, |
| 1483 |
"filename": "imports.151.wasm", |
| 1484 |
"module_type": "binary" |
| 1485 |
}, |
| 1486 |
{ |
| 1487 |
"type": "assert_unlinkable", |
| 1488 |
"line": 607, |
| 1489 |
"filename": "imports.152.wasm", |
| 1490 |
"module_type": "binary", |
| 1491 |
"text": "unknown import" |
| 1492 |
}, |
| 1493 |
{ |
| 1494 |
"type": "assert_unlinkable", |
| 1495 |
"line": 611, |
| 1496 |
"filename": "imports.153.wasm", |
| 1497 |
"module_type": "binary", |
| 1498 |
"text": "unknown import" |
| 1499 |
}, |
| 1500 |
{ |
| 1501 |
"type": "assert_unlinkable", |
| 1502 |
"line": 616, |
| 1503 |
"filename": "imports.154.wasm", |
| 1504 |
"module_type": "binary", |
| 1505 |
"text": "incompatible import type" |
| 1506 |
}, |
| 1507 |
{ |
| 1508 |
"type": "assert_unlinkable", |
| 1509 |
"line": 620, |
| 1510 |
"filename": "imports.155.wasm", |
| 1511 |
"module_type": "binary", |
| 1512 |
"text": "incompatible import type" |
| 1513 |
}, |
| 1514 |
{ |
| 1515 |
"type": "assert_unlinkable", |
| 1516 |
"line": 624, |
| 1517 |
"filename": "imports.156.wasm", |
| 1518 |
"module_type": "binary", |
| 1519 |
"text": "incompatible import type" |
| 1520 |
}, |
| 1521 |
{ |
| 1522 |
"type": "assert_unlinkable", |
| 1523 |
"line": 628, |
| 1524 |
"filename": "imports.157.wasm", |
| 1525 |
"module_type": "binary", |
| 1526 |
"text": "incompatible import type" |
| 1527 |
}, |
| 1528 |
{ |
| 1529 |
"type": "assert_unlinkable", |
| 1530 |
"line": 632, |
| 1531 |
"filename": "imports.158.wasm", |
| 1532 |
"module_type": "binary", |
| 1533 |
"text": "incompatible import type" |
| 1534 |
}, |
| 1535 |
{ |
| 1536 |
"type": "assert_unlinkable", |
| 1537 |
"line": 636, |
| 1538 |
"filename": "imports.159.wasm", |
| 1539 |
"module_type": "binary", |
| 1540 |
"text": "incompatible import type" |
| 1541 |
}, |
| 1542 |
{ |
| 1543 |
"type": "assert_unlinkable", |
| 1544 |
"line": 640, |
| 1545 |
"filename": "imports.160.wasm", |
| 1546 |
"module_type": "binary", |
| 1547 |
"text": "incompatible import type" |
| 1548 |
}, |
| 1549 |
{ |
| 1550 |
"type": "assert_unlinkable", |
| 1551 |
"line": 644, |
| 1552 |
"filename": "imports.161.wasm", |
| 1553 |
"module_type": "binary", |
| 1554 |
"text": "incompatible import type" |
| 1555 |
}, |
| 1556 |
{ |
| 1557 |
"type": "assert_unlinkable", |
| 1558 |
"line": 648, |
| 1559 |
"filename": "imports.162.wasm", |
| 1560 |
"module_type": "binary", |
| 1561 |
"text": "incompatible import type" |
| 1562 |
}, |
| 1563 |
{ |
| 1564 |
"type": "assert_unlinkable", |
| 1565 |
"line": 652, |
| 1566 |
"filename": "imports.163.wasm", |
| 1567 |
"module_type": "binary", |
| 1568 |
"text": "incompatible import type" |
| 1569 |
}, |
| 1570 |
{ |
| 1571 |
"type": "assert_unlinkable", |
| 1572 |
"line": 656, |
| 1573 |
"filename": "imports.164.wasm", |
| 1574 |
"module_type": "binary", |
| 1575 |
"text": "incompatible import type" |
| 1576 |
}, |
| 1577 |
{ |
| 1578 |
"type": "assert_unlinkable", |
| 1579 |
"line": 660, |
| 1580 |
"filename": "imports.165.wasm", |
| 1581 |
"module_type": "binary", |
| 1582 |
"text": "incompatible import type" |
| 1583 |
}, |
| 1584 |
{ |
| 1585 |
"type": "assert_unlinkable", |
| 1586 |
"line": 664, |
| 1587 |
"filename": "imports.166.wasm", |
| 1588 |
"module_type": "binary", |
| 1589 |
"text": "incompatible import type" |
| 1590 |
}, |
| 1591 |
{ |
| 1592 |
"type": "assert_unlinkable", |
| 1593 |
"line": 668, |
| 1594 |
"filename": "imports.167.wasm", |
| 1595 |
"module_type": "binary", |
| 1596 |
"text": "incompatible import type" |
| 1597 |
}, |
| 1598 |
{ |
| 1599 |
"type": "assert_unlinkable", |
| 1600 |
"line": 672, |
| 1601 |
"filename": "imports.168.wasm", |
| 1602 |
"module_type": "binary", |
| 1603 |
"text": "incompatible import type" |
| 1604 |
}, |
| 1605 |
{ |
| 1606 |
"type": "assert_unlinkable", |
| 1607 |
"line": 676, |
| 1608 |
"filename": "imports.169.wasm", |
| 1609 |
"module_type": "binary", |
| 1610 |
"text": "incompatible import type" |
| 1611 |
}, |
| 1612 |
{ |
| 1613 |
"type": "assert_unlinkable", |
| 1614 |
"line": 680, |
| 1615 |
"filename": "imports.170.wasm", |
| 1616 |
"module_type": "binary", |
| 1617 |
"text": "incompatible import type" |
| 1618 |
}, |
| 1619 |
{ |
| 1620 |
"type": "assert_unlinkable", |
| 1621 |
"line": 684, |
| 1622 |
"filename": "imports.171.wasm", |
| 1623 |
"module_type": "binary", |
| 1624 |
"text": "incompatible import type" |
| 1625 |
}, |
| 1626 |
{ |
| 1627 |
"type": "assert_unlinkable", |
| 1628 |
"line": 688, |
| 1629 |
"filename": "imports.172.wasm", |
| 1630 |
"module_type": "binary", |
| 1631 |
"text": "incompatible import type" |
| 1632 |
}, |
| 1633 |
{ |
| 1634 |
"type": "assert_unlinkable", |
| 1635 |
"line": 692, |
| 1636 |
"filename": "imports.173.wasm", |
| 1637 |
"module_type": "binary", |
| 1638 |
"text": "incompatible import type" |
| 1639 |
}, |
| 1640 |
{ |
| 1641 |
"type": "assert_unlinkable", |
| 1642 |
"line": 696, |
| 1643 |
"filename": "imports.174.wasm", |
| 1644 |
"module_type": "binary", |
| 1645 |
"text": "incompatible import type" |
| 1646 |
}, |
| 1647 |
{ |
| 1648 |
"type": "assert_unlinkable", |
| 1649 |
"line": 700, |
| 1650 |
"filename": "imports.175.wasm", |
| 1651 |
"module_type": "binary", |
| 1652 |
"text": "incompatible import type" |
| 1653 |
}, |
| 1654 |
{ |
| 1655 |
"type": "assert_unlinkable", |
| 1656 |
"line": 704, |
| 1657 |
"filename": "imports.176.wasm", |
| 1658 |
"module_type": "binary", |
| 1659 |
"text": "incompatible import type" |
| 1660 |
}, |
| 1661 |
{ |
| 1662 |
"type": "assert_unlinkable", |
| 1663 |
"line": 708, |
| 1664 |
"filename": "imports.177.wasm", |
| 1665 |
"module_type": "binary", |
| 1666 |
"text": "incompatible import type" |
| 1667 |
}, |
| 1668 |
{ |
| 1669 |
"type": "assert_unlinkable", |
| 1670 |
"line": 712, |
| 1671 |
"filename": "imports.178.wasm", |
| 1672 |
"module_type": "binary", |
| 1673 |
"text": "incompatible import type" |
| 1674 |
}, |
| 1675 |
{ |
| 1676 |
"type": "assert_unlinkable", |
| 1677 |
"line": 716, |
| 1678 |
"filename": "imports.179.wasm", |
| 1679 |
"module_type": "binary", |
| 1680 |
"text": "incompatible import type" |
| 1681 |
}, |
| 1682 |
{ |
| 1683 |
"type": "assert_unlinkable", |
| 1684 |
"line": 720, |
| 1685 |
"filename": "imports.180.wasm", |
| 1686 |
"module_type": "binary", |
| 1687 |
"text": "incompatible import type" |
| 1688 |
}, |
| 1689 |
{ |
| 1690 |
"type": "assert_unlinkable", |
| 1691 |
"line": 724, |
| 1692 |
"filename": "imports.181.wasm", |
| 1693 |
"module_type": "binary", |
| 1694 |
"text": "incompatible import type" |
| 1695 |
}, |
| 1696 |
{ |
| 1697 |
"type": "assert_unlinkable", |
| 1698 |
"line": 728, |
| 1699 |
"filename": "imports.182.wasm", |
| 1700 |
"module_type": "binary", |
| 1701 |
"text": "incompatible import type" |
| 1702 |
}, |
| 1703 |
{ |
| 1704 |
"type": "assert_unlinkable", |
| 1705 |
"line": 732, |
| 1706 |
"filename": "imports.183.wasm", |
| 1707 |
"module_type": "binary", |
| 1708 |
"text": "incompatible import type" |
| 1709 |
}, |
| 1710 |
{ |
| 1711 |
"type": "assert_unlinkable", |
| 1712 |
"line": 736, |
| 1713 |
"filename": "imports.184.wasm", |
| 1714 |
"module_type": "binary", |
| 1715 |
"text": "incompatible import type" |
| 1716 |
}, |
| 1717 |
{ |
| 1718 |
"type": "assert_unlinkable", |
| 1719 |
"line": 740, |
| 1720 |
"filename": "imports.185.wasm", |
| 1721 |
"module_type": "binary", |
| 1722 |
"text": "incompatible import type" |
| 1723 |
}, |
| 1724 |
{ |
| 1725 |
"type": "assert_unlinkable", |
| 1726 |
"line": 744, |
| 1727 |
"filename": "imports.186.wasm", |
| 1728 |
"module_type": "binary", |
| 1729 |
"text": "incompatible import type" |
| 1730 |
}, |
| 1731 |
{ |
| 1732 |
"type": "assert_unlinkable", |
| 1733 |
"line": 748, |
| 1734 |
"filename": "imports.187.wasm", |
| 1735 |
"module_type": "binary", |
| 1736 |
"text": "incompatible import type" |
| 1737 |
}, |
| 1738 |
{ |
| 1739 |
"type": "assert_unlinkable", |
| 1740 |
"line": 752, |
| 1741 |
"filename": "imports.188.wasm", |
| 1742 |
"module_type": "binary", |
| 1743 |
"text": "incompatible import type" |
| 1744 |
}, |
| 1745 |
{ |
| 1746 |
"type": "assert_unlinkable", |
| 1747 |
"line": 756, |
| 1748 |
"filename": "imports.189.wasm", |
| 1749 |
"module_type": "binary", |
| 1750 |
"text": "incompatible import type" |
| 1751 |
}, |
| 1752 |
{ |
| 1753 |
"type": "assert_unlinkable", |
| 1754 |
"line": 760, |
| 1755 |
"filename": "imports.190.wasm", |
| 1756 |
"module_type": "binary", |
| 1757 |
"text": "incompatible import type" |
| 1758 |
}, |
| 1759 |
{ |
| 1760 |
"type": "assert_unlinkable", |
| 1761 |
"line": 764, |
| 1762 |
"filename": "imports.191.wasm", |
| 1763 |
"module_type": "binary", |
| 1764 |
"text": "incompatible import type" |
| 1765 |
}, |
| 1766 |
{ |
| 1767 |
"type": "assert_unlinkable", |
| 1768 |
"line": 769, |
| 1769 |
"filename": "imports.192.wasm", |
| 1770 |
"module_type": "binary", |
| 1771 |
"text": "incompatible import type" |
| 1772 |
}, |
| 1773 |
{ |
| 1774 |
"type": "assert_unlinkable", |
| 1775 |
"line": 773, |
| 1776 |
"filename": "imports.193.wasm", |
| 1777 |
"module_type": "binary", |
| 1778 |
"text": "incompatible import type" |
| 1779 |
}, |
| 1780 |
{ |
| 1781 |
"type": "assert_unlinkable", |
| 1782 |
"line": 777, |
| 1783 |
"filename": "imports.194.wasm", |
| 1784 |
"module_type": "binary", |
| 1785 |
"text": "incompatible import type" |
| 1786 |
}, |
| 1787 |
{ |
| 1788 |
"type": "assert_unlinkable", |
| 1789 |
"line": 781, |
| 1790 |
"filename": "imports.195.wasm", |
| 1791 |
"module_type": "binary", |
| 1792 |
"text": "incompatible import type" |
| 1793 |
}, |
| 1794 |
{ |
| 1795 |
"type": "assert_unlinkable", |
| 1796 |
"line": 786, |
| 1797 |
"filename": "imports.196.wasm", |
| 1798 |
"module_type": "binary", |
| 1799 |
"text": "incompatible import type" |
| 1800 |
}, |
| 1801 |
{ |
| 1802 |
"type": "assert_unlinkable", |
| 1803 |
"line": 790, |
| 1804 |
"filename": "imports.197.wasm", |
| 1805 |
"module_type": "binary", |
| 1806 |
"text": "incompatible import type" |
| 1807 |
}, |
| 1808 |
{ |
| 1809 |
"type": "assert_unlinkable", |
| 1810 |
"line": 794, |
| 1811 |
"filename": "imports.198.wasm", |
| 1812 |
"module_type": "binary", |
| 1813 |
"text": "incompatible import type" |
| 1814 |
}, |
| 1815 |
{ |
| 1816 |
"type": "assert_unlinkable", |
| 1817 |
"line": 798, |
| 1818 |
"filename": "imports.199.wasm", |
| 1819 |
"module_type": "binary", |
| 1820 |
"text": "incompatible import type" |
| 1821 |
}, |
| 1822 |
{ |
| 1823 |
"type": "assert_unlinkable", |
| 1824 |
"line": 802, |
| 1825 |
"filename": "imports.200.wasm", |
| 1826 |
"module_type": "binary", |
| 1827 |
"text": "incompatible import type" |
| 1828 |
}, |
| 1829 |
{ |
| 1830 |
"type": "assert_unlinkable", |
| 1831 |
"line": 806, |
| 1832 |
"filename": "imports.201.wasm", |
| 1833 |
"module_type": "binary", |
| 1834 |
"text": "incompatible import type" |
| 1835 |
}, |
| 1836 |
{ |
| 1837 |
"type": "assert_unlinkable", |
| 1838 |
"line": 811, |
| 1839 |
"filename": "imports.202.wasm", |
| 1840 |
"module_type": "binary", |
| 1841 |
"text": "incompatible import type" |
| 1842 |
}, |
| 1843 |
{ |
| 1844 |
"type": "assert_unlinkable", |
| 1845 |
"line": 815, |
| 1846 |
"filename": "imports.203.wasm", |
| 1847 |
"module_type": "binary", |
| 1848 |
"text": "incompatible import type" |
| 1849 |
}, |
| 1850 |
{ |
| 1851 |
"type": "module", |
| 1852 |
"line": 819, |
| 1853 |
"filename": "imports.204.wasm", |
| 1854 |
"module_type": "binary" |
| 1855 |
}, |
| 1856 |
{ |
| 1857 |
"type": "assert_return", |
| 1858 |
"line": 823, |
| 1859 |
"action": { |
| 1860 |
"type": "invoke", |
| 1861 |
"field": "grow", |
| 1862 |
"args": [ |
| 1863 |
{ |
| 1864 |
"type": "i32", |
| 1865 |
"value": "0" |
| 1866 |
} |
| 1867 |
] |
| 1868 |
}, |
| 1869 |
"expected": [ |
| 1870 |
{ |
| 1871 |
"type": "i32", |
| 1872 |
"value": "1" |
| 1873 |
} |
| 1874 |
] |
| 1875 |
}, |
| 1876 |
{ |
| 1877 |
"type": "assert_return", |
| 1878 |
"line": 824, |
| 1879 |
"action": { |
| 1880 |
"type": "invoke", |
| 1881 |
"field": "grow", |
| 1882 |
"args": [ |
| 1883 |
{ |
| 1884 |
"type": "i32", |
| 1885 |
"value": "1" |
| 1886 |
} |
| 1887 |
] |
| 1888 |
}, |
| 1889 |
"expected": [ |
| 1890 |
{ |
| 1891 |
"type": "i32", |
| 1892 |
"value": "1" |
| 1893 |
} |
| 1894 |
] |
| 1895 |
}, |
| 1896 |
{ |
| 1897 |
"type": "assert_return", |
| 1898 |
"line": 825, |
| 1899 |
"action": { |
| 1900 |
"type": "invoke", |
| 1901 |
"field": "grow", |
| 1902 |
"args": [ |
| 1903 |
{ |
| 1904 |
"type": "i32", |
| 1905 |
"value": "0" |
| 1906 |
} |
| 1907 |
] |
| 1908 |
}, |
| 1909 |
"expected": [ |
| 1910 |
{ |
| 1911 |
"type": "i32", |
| 1912 |
"value": "2" |
| 1913 |
} |
| 1914 |
] |
| 1915 |
}, |
| 1916 |
{ |
| 1917 |
"type": "assert_return", |
| 1918 |
"line": 826, |
| 1919 |
"action": { |
| 1920 |
"type": "invoke", |
| 1921 |
"field": "grow", |
| 1922 |
"args": [ |
| 1923 |
{ |
| 1924 |
"type": "i32", |
| 1925 |
"value": "1" |
| 1926 |
} |
| 1927 |
] |
| 1928 |
}, |
| 1929 |
"expected": [ |
| 1930 |
{ |
| 1931 |
"type": "i32", |
| 1932 |
"value": "-1" |
| 1933 |
} |
| 1934 |
] |
| 1935 |
}, |
| 1936 |
{ |
| 1937 |
"type": "assert_return", |
| 1938 |
"line": 827, |
| 1939 |
"action": { |
| 1940 |
"type": "invoke", |
| 1941 |
"field": "grow", |
| 1942 |
"args": [ |
| 1943 |
{ |
| 1944 |
"type": "i32", |
| 1945 |
"value": "0" |
| 1946 |
} |
| 1947 |
] |
| 1948 |
}, |
| 1949 |
"expected": [ |
| 1950 |
{ |
| 1951 |
"type": "i32", |
| 1952 |
"value": "2" |
| 1953 |
} |
| 1954 |
] |
| 1955 |
}, |
| 1956 |
{ |
| 1957 |
"type": "assert_malformed", |
| 1958 |
"line": 833, |
| 1959 |
"filename": "imports.205.wat", |
| 1960 |
"module_type": "text", |
| 1961 |
"text": "import after function" |
| 1962 |
}, |
| 1963 |
{ |
| 1964 |
"type": "assert_malformed", |
| 1965 |
"line": 837, |
| 1966 |
"filename": "imports.206.wat", |
| 1967 |
"module_type": "text", |
| 1968 |
"text": "import after function" |
| 1969 |
}, |
| 1970 |
{ |
| 1971 |
"type": "assert_malformed", |
| 1972 |
"line": 841, |
| 1973 |
"filename": "imports.207.wat", |
| 1974 |
"module_type": "text", |
| 1975 |
"text": "import after function" |
| 1976 |
}, |
| 1977 |
{ |
| 1978 |
"type": "assert_malformed", |
| 1979 |
"line": 845, |
| 1980 |
"filename": "imports.208.wat", |
| 1981 |
"module_type": "text", |
| 1982 |
"text": "import after function" |
| 1983 |
}, |
| 1984 |
{ |
| 1985 |
"type": "assert_malformed", |
| 1986 |
"line": 850, |
| 1987 |
"filename": "imports.209.wat", |
| 1988 |
"module_type": "text", |
| 1989 |
"text": "import after global" |
| 1990 |
}, |
| 1991 |
{ |
| 1992 |
"type": "assert_malformed", |
| 1993 |
"line": 854, |
| 1994 |
"filename": "imports.210.wat", |
| 1995 |
"module_type": "text", |
| 1996 |
"text": "import after global" |
| 1997 |
}, |
| 1998 |
{ |
| 1999 |
"type": "assert_malformed", |
| 2000 |
"line": 858, |
| 2001 |
"filename": "imports.211.wat", |
| 2002 |
"module_type": "text", |
| 2003 |
"text": "import after global" |
| 2004 |
}, |
| 2005 |
{ |
| 2006 |
"type": "assert_malformed", |
| 2007 |
"line": 862, |
| 2008 |
"filename": "imports.212.wat", |
| 2009 |
"module_type": "text", |
| 2010 |
"text": "import after global" |
| 2011 |
}, |
| 2012 |
{ |
| 2013 |
"type": "assert_malformed", |
| 2014 |
"line": 867, |
| 2015 |
"filename": "imports.213.wat", |
| 2016 |
"module_type": "text", |
| 2017 |
"text": "import after table" |
| 2018 |
}, |
| 2019 |
{ |
| 2020 |
"type": "assert_malformed", |
| 2021 |
"line": 871, |
| 2022 |
"filename": "imports.214.wat", |
| 2023 |
"module_type": "text", |
| 2024 |
"text": "import after table" |
| 2025 |
}, |
| 2026 |
{ |
| 2027 |
"type": "assert_malformed", |
| 2028 |
"line": 875, |
| 2029 |
"filename": "imports.215.wat", |
| 2030 |
"module_type": "text", |
| 2031 |
"text": "import after table" |
| 2032 |
}, |
| 2033 |
{ |
| 2034 |
"type": "assert_malformed", |
| 2035 |
"line": 879, |
| 2036 |
"filename": "imports.216.wat", |
| 2037 |
"module_type": "text", |
| 2038 |
"text": "import after table" |
| 2039 |
}, |
| 2040 |
{ |
| 2041 |
"type": "assert_malformed", |
| 2042 |
"line": 884, |
| 2043 |
"filename": "imports.217.wat", |
| 2044 |
"module_type": "text", |
| 2045 |
"text": "import after memory" |
| 2046 |
}, |
| 2047 |
{ |
| 2048 |
"type": "assert_malformed", |
| 2049 |
"line": 888, |
| 2050 |
"filename": "imports.218.wat", |
| 2051 |
"module_type": "text", |
| 2052 |
"text": "import after memory" |
| 2053 |
}, |
| 2054 |
{ |
| 2055 |
"type": "assert_malformed", |
| 2056 |
"line": 892, |
| 2057 |
"filename": "imports.219.wat", |
| 2058 |
"module_type": "text", |
| 2059 |
"text": "import after memory" |
| 2060 |
}, |
| 2061 |
{ |
| 2062 |
"type": "assert_malformed", |
| 2063 |
"line": 896, |
| 2064 |
"filename": "imports.220.wat", |
| 2065 |
"module_type": "text", |
| 2066 |
"text": "import after memory" |
| 2067 |
}, |
| 2068 |
{ |
| 2069 |
"type": "module", |
| 2070 |
"line": 903, |
| 2071 |
"filename": "imports.221.wasm", |
| 2072 |
"module_type": "binary" |
| 2073 |
}, |
| 2074 |
{ |
| 2075 |
"type": "register", |
| 2076 |
"line": 904, |
| 2077 |
"as": "not wasm" |
| 2078 |
}, |
| 2079 |
{ |
| 2080 |
"type": "assert_unlinkable", |
| 2081 |
"line": 906, |
| 2082 |
"filename": "imports.222.wasm", |
| 2083 |
"module_type": "binary", |
| 2084 |
"text": "unknown import" |
| 2085 |
} |
| 2086 |
] |
| 2087 |
} |