ORCA-C/Tests/Deviance/D7.6.1.3.CC

14 lines
177 B
C++

/* Deviance Test 7.6.1.3: Check for illegal % in a constant expression */
#include <stdio.h>
void main(void)
{
int i;
i = 4%0;
printf("Failed Deviance Test 7.6.1.3\n");
}