sourcemod/sourcepawn/compiler/tests/fail-nullable-needs-new.sp

12 lines
139 B
SourcePawn
Raw Normal View History

methodmap Handle __nullable__
{
public native Handle();
public native ~Handle();
};
public t()
{
Handle egg = Handle();
delete egg;
}