ORCA-C/Tests/Deviance/D2.7.4.1.CC

12 lines
302 B
Plaintext
Raw Normal View History

/* Deviance Test 2.7.4.1: Ensure string constants with no closing " are */
/* flagged as errors */
main ()
{
char string [] = "badly formed string ;
strcpy (string, "another bad string );
printf ("Failed Deviance Test 2.7.4.1\n");
}