Rollup merge of #70195 - rylev:test-for-53275, r=Centril

Add test for issue #53275

Fixes #53275
This commit is contained in:
Mazdak Farrokhzad 2020-03-23 19:04:49 +01:00 committed by GitHub
commit ad6d30314b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,9 @@
// build-pass
#![crate_type = "lib"]
#![allow(unconditional_panic)]
struct S(u8);
pub fn ice() {
S([][0]);
}