Files
c3c/test/test_suite/arrays/array_invalid_casts.c3
Christoffer Lerno f46697bc54 Updated casts (#684)
Cast code rework. Remove llvm_set_bool and friends.
2022-12-27 14:16:47 +01:00

12 lines
177 B
C

fn void test()
{
int[3] x;
double *y = &x; // #error: 'int[3]*' to 'double*
}
fn void test2()
{
int[3] x;
double[] z = &x; // #error: 'int[3]*' to 'double[]'
}