sourcemod/sourcepawn/compiler/tests/fail-new-with-non-nullable.sp

12 lines
130 B
SourcePawn
Raw Normal View History

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