Skip to content

Commit

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

Fixes #53275
  • Loading branch information
Centril authored Mar 23, 2020
2 parents 4d5ecca + 821eef5 commit ad6d303
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 ad6d303

Please sign in to comment.