ORCA-C/Tests/Spec.Conform/SPC23.2.0.1.CC

1 line
655 B
Plaintext
Raw Normal View History

/* 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"); }