sourcemod/sourcepawn/compiler/tests/ok-trailing-comma-in-literal.sp

21 lines
235 B
SourcePawn
Raw Normal View History

2014-08-26 21:58:58 +02:00
new String:oldArray[][] =
{
"string",
"string2",
};
char newArray[][] =
{
"another string",
"more strings",
};
native Print( const String:string[] );
public OnPluginStart()
{
Print( oldArray[ 0 ] );
Print( newArray[ 0 ] );
}