ORCA-C/Tests/Spec.Conform/SPC23.2.0.1.CC
2017-10-21 18:40:19 -05:00

23 lines
655 B
C++

/* Special Conformance Test 23.2.0.1: Verification of commandline */
/* */
/* Other files needed: spc23.201.exec - EXEC file which compiles, */
/* links, and executes test */
/* file with parameters */
#include <orca.h>
main ()
{
char *cmdLine;
cmdLine = commandline ();
if (strcmp (cmdLine, "3/spc23.2 one two three four"))
goto Fail;
printf ("Passed Special Conformance Test 23.2.0.1\n");
return;
Fail:
printf ("Failed Special Conformance Test 23.2.0.1\n");
}