mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-08 13:29:54 +00:00
1 line
441 B
Plaintext
1 line
441 B
Plaintext
|
/* Deviance Test 17.2.0.7: Ensure illegal parameters supplied to fopen */
/* are detected */
#include <stdio.h>
main ()
{
FILE *f1;
int i;
f1 = fopen ("3/fourthFile", "99"); /* try to open with invalid type */
if (f1 != NULL)
goto Fail;
printf ("Passed Deviance Test 17.2.0.7\n");
return;
Fail:
printf ("Failed Deviance Test 17.2.0.7\n");
}
|