blob: 6dd35141834699765cd8732bd12f786047188f65 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static method f() dynamic {
core::int* a = 0;
dynamic b = null;
dynamic c = throw "foo";
() →* core::int* d = () core::int* => 0;
() →* Null e = () Null => null;
() →* <BottomType>f = () <BottomType>=> throw "foo";
() →* core::int* g = () core::int* {
return 0;
};
() →* Null h = () Null {
return null;
};
() →* <BottomType>i = () <BottomType>{
return throw "foo";
};
}
static method main() dynamic {}