| library test; | |
| import self as self; | |
| import "dart:core" as core; | |
| class C extends core::Object { | |
| field dynamic f; | |
| constructor •(dynamic f) → self::C* | |
| : self::C::f = f, super core::Object::•() | |
| ; | |
| } | |
| static method g(self::C* c) → void { | |
| c.{self::C::f}(1.5); | |
| } | |
| static method h(core::int* i) → void {} | |
| static method test() → void { | |
| self::g(new self::C::•(#C1)); | |
| } | |
| static method main() → dynamic {} | |
| constants { | |
| #C1 = tearoff self::h | |
| } |