Files
c3c/test/test_suite/statements/binary_fail.c3
2021-11-16 17:46:44 +01:00

9 lines
291 B
C

fn 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
}