Skip to content

Commit

Permalink
Add issue-80767
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jan 15, 2021
1 parent cb3b42c commit c3fe097
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ices/80767.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
type G<'a> = [(O, &'a [u8]); 64];
enum O {
O1,
}
fn f(_p: [G; 4]) {}

fn main() {
let p: [G; 4];
let _g: G = [(O::O1, &[]); 64];
f(p);
}

0 comments on commit c3fe097

Please sign in to comment.