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