v8/test/mjsunit/runtime-gen/functionsetname.js

7 lines
246 B
JavaScript
Raw Normal View History

// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _f = function() {};
var _name = "foo";
%FunctionSetName(_f, _name);