sourcemod/sourcepawn/compiler/tests/fail-bad-upcast.sp
2014-06-16 01:50:42 -07:00

16 lines
154 B
SourcePawn

native CloseHandle(Handle:this);
methodmap Handle {
Close = CloseHandle;
};
methodmap Crab {
};
public main()
{
new Crab:x;
new Handle:y;
x = y;
}