Open PauloCampana opened 3 months ago
It does cause a compile error but the function is still sent to the backend.
$ zig-dev test a.zig -fno-emit-bin
a.zig:4:20: error: opaque return type 'a.opq' not allowed
extern fn fnname() opq;
^~~
a.zig:3:13: note: opaque declared here
const opq = opaque {};
^~~~~~~~~
code:
results:
Both compilers are x86_64 linux downloaded from the website