Files
c3c/test/test_suite14/arrays/inferred_array_err.c3
2023-01-11 18:00:08 +01:00

8 lines
230 B
C

fn int[*] hello() // #error: Inferred array types can only be used in declarations with initializers
{
return int[3] { 1, 2, 3};
}
int[*] c; // #error: Inferred array types can only be used in declarations with initializers