diff --git a/test/standalone/build.zig.zon b/test/standalone/build.zig.zon index 373dfcf75b15b4614b964bc587e873444cccfc88..4c4961ccb991405e08aae11733a09cf9ca7e467f 100644 --- a/test/standalone/build.zig.zon +++ b/test/standalone/build.zig.zon @@ -129,9 +129,6 @@ .issue_12706 = .{ .path = "issue_12706", }, - .strip_struct_init = .{ - .path = "strip_struct_init", - }, .coff_dwarf = .{ .path = "coff_dwarf", }, diff --git a/test/standalone/strip_struct_init/build.zig b/test/standalone/strip_struct_init/build.zig deleted file mode 100644 index 7dfeb9b45ed5cbdaf269f02e04c7bff4fa527285..0000000000000000000000000000000000000000 --- a/test/standalone/strip_struct_init/build.zig +++ /dev/null @@ -1,19 +0,0 @@ -const std = @import("std"); - -pub fn build(b: *std.Build) void { - const test_step = b.step("test", "Test it"); - b.default_step = test_step; - - const optimize: std.builtin.Optimize = .debug; - - const main = b.addTest(.{ - .root_module = b.createModule(.{ - .root_source_file = b.path("main.zig"), - .target = b.graph.host, - .optimize = optimize, - .strip = true, - }), - }); - - test_step.dependOn(&b.addRunArtifact(main).step); -} diff --git a/test/standalone/strip_struct_init/main.zig b/test/standalone/strip_struct_init/main.zig deleted file mode 100644 index 4f3d63c960cc147dfead795cdf55c00cbe18f1f5..0000000000000000000000000000000000000000 --- a/test/standalone/strip_struct_init/main.zig +++ /dev/null @@ -1,23 +0,0 @@ -fn Func(comptime Type: type) type { - return struct { value: Type }; -} - -inline fn func(value: anytype) Func(@TypeOf(value)) { - return .{ .value = value }; -} - -test { - _ = func(type); -} - -test { - const S = struct { field: u32 }; - comptime var arr: [1]S = undefined; - arr[0] = .{ .field = 0 }; -} - -test { - const S = struct { u32 }; - comptime var arr: [1]S = undefined; - arr[0] = .{0}; -}