18 lines
155 B
SourcePawn
18 lines
155 B
SourcePawn
|
native printnum(x);
|
||
|
|
||
|
enum X {
|
||
|
};
|
||
|
|
||
|
methodmap X {
|
||
|
public X(int y) {
|
||
|
printnum(y);
|
||
|
return view_as<X>(0);
|
||
|
}
|
||
|
};
|
||
|
|
||
|
public main()
|
||
|
{
|
||
|
X x = X(5);
|
||
|
return X;
|
||
|
}
|