blob: 2c87a2a3ce553e2efd3edc8696d8e6aee6f25658 [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/regress/issue_31171.dart:8:1: Error: Expected a type, but got 'typedef'.
// typedef F = Map<String, dynamic> Function();
// ^^^^^^^
//
// pkg/front_end/testcases/regress/issue_31171.dart:8:1: Error: Expected ';' after this.
// typedef F = Map<String, dynamic> Function();
// ^^^^^^^
//
// pkg/front_end/testcases/regress/issue_31171.dart:7:11: Error: Can't create typedef from non-function type.
// typedef T =
// ^
//
import self as self;
import "dart:core" as core;
typedef T = invalid-type;
typedef F = () →* core::Map<core::String*, dynamic>*;
static method main() dynamic {}