| ... | ... | @@ -23,9 +23,9 @@ pub export fn entry3() void { |
| 23 | 23 | // error |
| 24 | 24 | // backend=stage2,llvm |
| 25 | 25 | // |
| 26 | | // :6:33: error: values of type '[2]fn() callconv(.C) void' must be comptime known, but index value is runtime known |
| 27 | | // :6:33: note: use '*const fn() callconv(.C) void' for a function pointer type |
| 28 | | // :13:33: error: values of type '[2]fn() callconv(.C) void' must be comptime known, but index value is runtime known |
| 29 | | // :13:33: note: use '*const fn() callconv(.C) void' for a function pointer type |
| 30 | | // :19:33: error: values of type '[2]fn() callconv(.C) void' must be comptime known, but index value is runtime known |
| 31 | | // :19:33: note: use '*const fn() callconv(.C) void' for a function pointer type |
| 26 | // :6:5: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known |
| 27 | // :6:5: note: use '*const fn() void' for a function pointer type |
| 28 | // :13:5: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known |
| 29 | // :13:5: note: use '*const fn() void' for a function pointer type |
| 30 | // :19:5: error: values of type '[2]fn() void' must be comptime known, but index value is runtime known |
| 31 | // :19:5: note: use '*const fn() void' for a function pointer type |