mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-22 23:29:27 +00:00
14 lines
191 B
C++
14 lines
191 B
C++
/* 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");
|
|
}
|