| 1 | export fn entry() void { |
| 2 | const U = union(enum) { a: void }; |
| 3 | const f: U = @import("zon/simple_union.zon"); |
| 4 | _ = f; |
| 5 | } |
| 6 | |
| 7 | // error |
| 8 | // imports=zon/simple_union.zon |
| 9 | // |
| 10 | // simple_union.zon:1:9: error: expected type 'void' |
| 11 | // tmp.zig:3:26: note: imported here |