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