blob: 2ccfa95e9734e67023d850573b1f11d399254366 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class C extends core::Object {
constructor •(core::Object* o) self::C*
: assert(o), super core::Object::•()
;
}
static method main() dynamic {
core::Object* o = 1;
try {
new self::C::•(o);
assert(false, "no exception");
}
on core::TypeError* catch(no-exception-var) {
}
}