master
1const Foo = enum { a, b, c };
2export fn entry(foo: Foo) void {
3    _ = foo;
4}
5
6// obj=parameter of type 'enum_export_error.Foo' not allowed in function with calling convention 'x86_64_sysv'
7// target=x86_64-linux