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

14 lines
154 B
SourcePawn
Raw Normal View History

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