mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
8 lines
213 B
Zig
8 lines
213 B
Zig
const Foo = enum { a, b, c };
|
|
export fn entry(foo: Foo) void {
|
|
_ = foo;
|
|
}
|
|
|
|
// obj=parameter of type 'enum_export_error.Foo' not allowed in function with calling convention 'x86_64_sysv'
|
|
// target=x86_64-linux
|