sourcemod/sourcepawn/compiler/tests/ok-trailing-comma-in-literal.sp
Ryan Stecker 302dc1cb8a Add test.
2014-08-26 14:58:58 -05:00

21 lines
235 B
SourcePawn

new String:oldArray[][] =
{
"string",
"string2",
};
char newArray[][] =
{
"another string",
"more strings",
};
native Print( const String:string[] );
public OnPluginStart()
{
Print( oldArray[ 0 ] );
Print( newArray[ 0 ] );
}