blob: 6c7e013a3f9668c92ed7a217c5b465f4131ad590 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
static method main() dynamic {
function f<T extends core::Object* = dynamic>(core::List<T*>* l) T*
return l.{core::List::[]}(0){(core::int*) →* T*};
core::int* x = f<core::int*>(core::_GrowableList::_literal1<core::int*>(0)){(core::List<core::int*>*) →* core::int*};
}