blob: ebad4a10a5c0257537f9a24cce2c61a5d2cadaf5 [file] [log] [blame]
library test /*isLegacy*/;
import self as self;
import "dart:core" as core;
static method f(core::Object* x) void {
if(x is{ForLegacy} core::int*) {
if(x{core::int*} is{ForLegacy} core::String*) {
core::int* y = x{core::int*};
}
}
}
static method g(core::int* x) void {
if(x is{ForLegacy} core::String*) {
core::int* y = x;
}
}
static method main() dynamic {}