enum_export_error.zig (213B) - Raw
1 const Foo = enum { a, b, c }; 2 export fn entry(foo: Foo) void { 3 _ = foo; 4 } 5 6 // obj=parameter of type 'enum_export_error.Foo' not allowed in function with calling convention 'x86_64_sysv' 7 // target=x86_64-linux