blob: c2339bd18bf386827fc9429bd390134dad5e36f3 [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 function literal is an object that encapsulates an executable
* unit of code.
* functionExpression:
* formalParameterList functionExpressionBody
* ;
* @description Checks that the function body is required.
* @compile-error
* @author msyabro
*/
main() {
try {
(p1, p2);
} catch (e) {}
}