diff options
Diffstat (limited to 'doc/langref/enum_export_error.zig')
| -rw-r--r-- | doc/langref/enum_export_error.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/langref/enum_export_error.zig b/doc/langref/enum_export_error.zig index c584ef695e..1056fb182a 100644 --- a/doc/langref/enum_export_error.zig +++ b/doc/langref/enum_export_error.zig @@ -1,4 +1,6 @@ const Foo = enum { a, b, c }; -export fn entry(foo: Foo) void { _ = foo; } +export fn entry(foo: Foo) void { + _ = foo; +} // obj=parameter of type 'enum_export_error.Foo' not allowed in function with calling convention 'C' |
