//ww:run-exit 0 // Run leg of the retired 926_tagged_sret_run.c row wide_discard_stmt. package main; type oops = !str; type nomem = !void; type wide = struct { xs: []u8, ys: []u8, n: i64 }; fn mk(b: []u8) (wide | oops | nomem) = { return wide { xs = b, ys = b, n = 1 }; }; export fn main() i32 = { let canary: i64 = 777; let buf: [4]u8 = [1u8, 2u8, 3u8, 4u8]; mk(buf[0:4]); mk(buf[0:4]); if (canary != 777) { return 1; }; return 0; };