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

14 lines
191 B
Plaintext
Raw Normal View History

/* Deviance Test 7.6.1.4: Check for illegal float / in a constant expression */
#include <stdio.h>
void main(void)
{
float f;
f = 4.0 / 0.0;
printf("Failed Deviance Test 7.6.1.4\n");
}