--- old/test/script/basic/es6.js 2016-03-18 16:54:34.233727187 +0100 +++ new/test/script/basic/es6.js 2016-03-18 16:54:34.093727193 +0100 @@ -64,3 +64,8 @@ expectError('`${ x }`', 'template literal', 'SyntaxError'); expectError('`text ${ x } text`', 'template literal', 'SyntaxError'); expectError('f`text`', 'template literal', 'SyntaxError'); +expectError('for (a of [1, 2, 3]) print(a)', 'for-of', 'SyntaxError'); +expectError('for (var a of [1, 2, 3]) print(a)', 'for-of', 'SyntaxError'); +expectError('for (let a of [1, 2, 3]) print(a)', 'for-of', 'SyntaxError'); +expectError('for (const a of [1, 2, 3]) print(a)', 'for-of', 'SyntaxError'); +