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