Skip to content

Commit

Permalink
Add test case for #77062
Browse files Browse the repository at this point in the history
Closes #77062
  • Loading branch information
wesleywiser committed Oct 21, 2020
1 parent 31530e5 commit 3adac03
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 3adac03

Please sign in to comment.