aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/export.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-03-10 20:00:07 +0200
committerVeikka Tuominen <git@vexu.eu>2022-03-10 20:00:07 +0200
commitf9e4344bb51c70aa9959680f3dfc9d7712858395 (patch)
tree6c115c0a6c81fed9657d1e6be710fc8f7ee422a2 /test/behavior/export.zig
parent673fafc23142b0bdc467efcb8554cd4e70bba17b (diff)
downloadzig-f9e4344bb51c70aa9959680f3dfc9d7712858395.tar.gz
zig-f9e4344bb51c70aa9959680f3dfc9d7712858395.zip
Sema: implement zirStructInit is_ref=true union
Diffstat (limited to 'test/behavior/export.zig')
-rw-r--r--test/behavior/export.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/export.zig b/test/behavior/export.zig
index 9521c7cadb..5f8ccf02d4 100644
--- a/test/behavior/export.zig
+++ b/test/behavior/export.zig
@@ -38,9 +38,6 @@ export fn testPackedStuff(a: *const PackedStruct, b: *const PackedUnion) void {
test "exporting enum type and value" {
const S = struct {
const E = enum(c_int) { one, two };
- comptime {
- @export(E, .{ .name = "E" });
- }
const e: E = .two;
comptime {
@export(e, .{ .name = "e" });