Skip to content

Commit

Permalink
Rollup merge of rust-lang#70195 - rylev:test-for-53275, r=Centril
Browse files Browse the repository at this point in the history
Add test for issue rust-lang#53275

Fixes rust-lang#53275
  • Loading branch information
Centril committed Mar 23, 2020
2 parents 34e664f + 821eef5 commit 4be1ec1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/ui/issues/issue-53275.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// build-pass

#![crate_type = "lib"]
#![allow(unconditional_panic)]
struct S(u8);

pub fn ice() {
S([][0]);
}

0 comments on commit 4be1ec1

Please sign in to comment.