aboutsummaryrefslogtreecommitdiff
path: root/doc/langref/enum_export.zig
blob: daf0224777f9c92b1d0105a9ea9c77cbc1a52501 (plain)
1
2
3
4
5
6
const Foo = enum(c_int) { a, b, c };
export fn entry(foo: Foo) void {
    _ = foo;
}

// obj