mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
179 B
C
12 lines
179 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]*' into 'double[]'
|
|
} |