blob: 4b21762e2bb31b08bc2f70b98167876345762891 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class A extends core::Object /*hasConstConstructor*/ {
final field core::int* x;
const constructor •(core::int* x) self::A*
: self::A::x = x, super core::Object::•()
;
}
static method main() dynamic {
core::int* foo = 42;
new self::A::•(5);
new self::A::•(5.{core::num::+}(5));
new self::A::•(foo);
new self::A::•(5.{core::num::+}(foo));
}