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