blob: e977946afec3d0b5c49386cbc7da00afbd1ef224 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
typedef FunctionReturningNum = () core::num;
static method main() dynamic {
core::int i = 1;
core::Object o = 1;
() core::num a = () core::int => i;
() core::num b = () core::Object => o;
() core::num c = () core::int {
return i;
};
() core::num d = () core::num {
return o;
};
}