blob: 28e2411616a28a6f074f211e17ca5cd0f1485c5d [file] [log] [blame]
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: Lexical declaration (const) not allowed in statement position
esid: sec-labelled-statements
es6id: 13.13
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
label: const x = null;