blob: 60b3c971f0d7d408e1363753a5dfe01d4d0df3ec [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class A extends core::Object {
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));
}