sourcemod/sourcepawn/compiler/tests/ok-coerce-on-operators.sp
2014-11-08 20:27:39 -08:00

19 lines
233 B
SourcePawn

enum Handle {
INVALID_HANDLE,
};
methodmap Handle {};
methodmap ArrayList < Handle {};
public void MyCommand()
{
ArrayList myList;
if (INVALID_HANDLE == myList)
{
}
if (myList == INVALID_HANDLE)
{
}
}