sourcemod/sourcepawn/compiler/tests/fail-new-with-no-constructor.sp

11 lines
118 B
SourcePawn
Raw Normal View History

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