ORCA-C/Tests/Deviance/D2.7.4.1.CC
2017-10-21 18:40:19 -05:00

12 lines
302 B
C++

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