// Copyright 2017 the V8 project authors. All rights reserved.// Use of this source code is governed by a BSD-style license that can be// found in the LICENSE file.// Flags: --allow-natives-syntaxfunctionModule(stdlib,foreign,heap){"use asm";vara=newstdlib.Int16Array(heap);functionf(){returna[23>>-1];}return{f:f};}varb=newArrayBuffer(1024);varm=Module(this,{},b);newInt16Array(b)[0]=42;assertEquals(42,m.f());assertFalse(%IsAsmWasmCode(Module));