master
1var cc: @import("std").builtin.CallingConvention = .c;
2export fn foo() callconv(cc) void {}
3
4// error
5//
6// :2:26: error: unable to resolve comptime value
7// :2:26: note: calling convention must be comptime-known