blob: bf2444c6740339389ac92142e6c15a0cd5c8a5ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: use-strict-directive
es5id: 10.1.1-16-s
description: >
Strict Mode - Function code that is part of a FunctionExpression
is strict function code if FunctionExpression is contained in use
strict
flags: [noStrict]
---*/
function testcase() {
"use strict";
assert.throws(ReferenceError, function() {
test262unresolvable = null;
});
}
testcase();
reportCompare(0, 0);
|