2016-06-06 13:40:11 +00:00
|
|
|
// Copyright 2016 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.
|
|
|
|
|
2016-08-23 04:06:52 +00:00
|
|
|
// Flags: --validate-asm --allow-natives-syntax
|
|
|
|
|
2016-06-06 13:40:11 +00:00
|
|
|
function __f_14() {
|
|
|
|
"use asm";
|
|
|
|
function __f_15() { return 0; }
|
|
|
|
function __f_15() { return 137; } // redeclared function
|
|
|
|
return {};
|
|
|
|
}
|
2016-08-23 04:06:52 +00:00
|
|
|
__f_14();
|
2016-12-09 11:55:40 +00:00
|
|
|
assertFalse(%IsAsmWasmCode(__f_14));
|