testFail_1.js 600 B

1234567891011121314151617
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. function module0(stdlib) {
  6. "use asm"
  7. var u16 = stdlib.SIMD.Uint8x16;
  8. var u16check = u16.check;
  9. function foo(abc) {
  10. abc = u16check(abc);
  11. return ;
  12. }
  13. return { foo:foo }
  14. }
  15. var c = module0(this);