sourcemod/sourcepawn/compiler/tests/ok-new-decl-args.sp

39 lines
230 B
SourcePawn
Raw Normal View History

2014-07-03 08:01:00 +02:00
stock A(int n)
{
}
stock B(int n[])
{
}
stock C(int[] n)
{
}
enum E1: {
}
enum E2 {
}
stock D(E1 t)
{
}
stock E(E2 t)
{
}
2014-07-03 09:14:12 +02:00
stock F(int n[10]) {
}
2014-07-03 08:01:00 +02:00
public main()
{
new x[10]
A(1)
B(x)
C(x)
D(E1:5)
E(E2:5)
2014-07-03 09:14:12 +02:00
F(x)
2014-07-03 08:01:00 +02:00
}