mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-11-17 05:06:10 +00:00
23 lines
655 B
C++
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");
|
|
}
|