aboutsummaryrefslogtreecommitdiff
path: root/doc/langref/enum_export_error.zig
blob: a550c561b939ccf6fbc6beb1aaffd154390f4f89 (plain)
1
2
3
4
5
6
7
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