blob: c6b4eb79ccacab7cad7473f8aa72b759851bad2d [file] [log] [blame]
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/**
* @assertion A block statement supports sequencing of code.
* Execution of a block statement { s1, ... , sn } proceeds as follows:
* For i in 1..n; si is executed.
* @description Checks that it is a compile-time error if a block statement
* is missing the closing bracket.
* @compile-error
* @author vasya
*/
main() {
{
var foo = 0;
}