library; | |
import self as self; | |
import "dart:core" as core; | |
class C extends core::Object /*hasConstConstructor*/ { | |
static const field core::int* constField = #C1; | |
const constructor •(dynamic x) → self::C* | |
: super core::Object::•() | |
; | |
} | |
static const field core::int* constTopLevelField = #C2; | |
static method main() → dynamic { | |
new self::C::•(#C1); | |
new self::C::•(#C2); | |
} | |
constants { | |
#C1 = 87 | |
#C2 = 42 | |
} |