blob: a8247f64ebd2fc466f14713affc105976f612bf1 [file] [log] [blame]
// Formatted problems:
//
// pkg/front_end/testcases/illegal_named_function_expression_scope.dart:7:14: Error: A function expression can't have a name.
// print(void f() {});
// ^
// Unhandled errors:
//
// pkg/front_end/testcases/illegal_named_function_expression_scope.dart:7:14: Error: A function expression can't have a name.
// print(void f() {});
// ^
library;
import self as self;
import "dart:core" as core;
static method main() dynamic {
function f() void {}
core::print(let final () void f = () void {} in f);
}