Skip to content

Commit

Permalink
regression test for issue 90847
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron1024 committed Jan 31, 2022
1 parent 21b4a9c commit 9118393
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/ui/const-generics/generic_const_exprs/issue-90847.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// check-pass

#![allow(incomplete_features)]
#![feature(generic_const_exprs)]
#![feature(adt_const_params)]

struct Foo<const A: [(); 0 + 0]> where [(); 0 + 0]: Sized;

fn main() {}

0 comments on commit 9118393

Please sign in to comment.