| ... | @@ -23,9 +23,9 @@ pub export fn entry3() void { | ... | @@ -23,9 +23,9 @@ pub export fn entry3() void { |
| 23 | // error | 23 | // error |
| 24 | // backend=stage2,llvm | 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 | 26 | // :6:5: error: values of type '[2]fn() 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 | 27 | // :6:5: note: use '*const fn() 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 | 28 | // :13:5: error: values of type '[2]fn() 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 | 29 | // :13:5: note: use '*const fn() 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 | 30 | // :19:5: error: values of type '[2]fn() 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 | 31 | // :19:5: note: use '*const fn() void' for a function pointer type |