2017-10-21 23:40:19 +00:00
|
|
|
/* Deviance Test 7.6.1.3: Check for illegal % in a constant expression */
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
void main(void)
|
|
|
|
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
|
2018-09-15 01:18:33 +00:00
|
|
|
i = 4%0;
|
2017-10-21 23:40:19 +00:00
|
|
|
|
|
|
|
printf("Failed Deviance Test 7.6.1.3\n");
|
|
|
|
}
|