blob: be1a8a20bc882b911fe736e6139a143181ea7b5b [file] [log] [blame]
library test /*isLegacy*/;
import self as self;
import "dart:core" as core;
static method main() dynamic {
core::Object* o = 1;
try {
if(o as{TypeError,ForLegacy} core::bool*) {
}
throw "no exception";
}
on core::TypeError* catch(no-exception-var) {
}
}