blob: 546d092e971aaf73b896acedefcd2dee88983152 [file] [log] [blame]
// 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 () core::Null f = () core::Null {} in f);
}