Rollup merge of #70195 - rylev:test-for-53275, r=Centril
Add test for issue #53275 Fixes #53275
This commit is contained in:
commit
ad6d30314b
9
src/test/ui/issues/issue-53275.rs
Normal file
9
src/test/ui/issues/issue-53275.rs
Normal file
@ -0,0 +1,9 @@
|
||||
// build-pass
|
||||
|
||||
#![crate_type = "lib"]
|
||||
#![allow(unconditional_panic)]
|
||||
struct S(u8);
|
||||
|
||||
pub fn ice() {
|
||||
S([][0]);
|
||||
}
|
Loading…
Reference in New Issue
Block a user