Skip to content

Commit ad6d303

Browse files
authored
Rollup merge of #70195 - rylev:test-for-53275, r=Centril
Add test for issue #53275 Fixes #53275
2 parents 4d5ecca + 821eef5 commit ad6d303

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/test/ui/issues/issue-53275.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// build-pass
2+
3+
#![crate_type = "lib"]
4+
#![allow(unconditional_panic)]
5+
struct S(u8);
6+
7+
pub fn ice() {
8+
S([][0]);
9+
}

0 commit comments

Comments
 (0)