Files
c3c/test/test_suite/statements/binary_fail.c3

9 lines
293 B
C

func void test()
{
float a;
float b;
int *c;
int *d;
if ((a + c) // #error: A value of type 'float' cannot be added to 'int*', an integer was expected here
+ (b + d)) return; // #error: A value of type 'float' cannot be added to 'int*', an integer was expected here
}