1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Flags: --strong-mode
11 (function ImmutableClassBindings() {
13 assertThrows(function(){ eval("C = 0") }, TypeError);
14 assertThrows(function(){ eval("D = 0") }, TypeError);
15 assertEquals('function', typeof C);
16 assertEquals('function', typeof D);