Skip to content

Commit

Permalink
Rollup merge of #78172 - wesleywiser:close_77062, r=oli-obk
Browse files Browse the repository at this point in the history
Add test case for #77062

Closes #77062
  • Loading branch information
JohnTitor committed Oct 22, 2020
2 parents 513550c + 3adac03 commit f5127de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/ui/consts/issue-77062-large-zst-array.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// build-pass

fn main() {
let _ = &[(); usize::MAX];
}

0 comments on commit f5127de

Please sign in to comment.