mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
9 lines
291 B
C
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
|
|
} |