master
1test {
2    switch (undefined) {
3        .a => |*ident| {},
4    }
5}
6
7// error
8//
9// :3:17: error: unused capture