test262/test/language/keywords/S7.6.1.1_A1.23.js

12 lines
305 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The "void" token can not be used as identifier
es5id: 7.6.1.1_A1.23
description: Checking if execution of "void=1" fails
negative: SyntaxError
---*/
void = 1;