blob: 1bb53e42b63972ca3f9f655542529124263d1369 [file] [log] [blame]
// 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);
}