rust/tests/ui/const-generics/generic_const_exprs/issue-90847.rs
2023-01-11 09:32:08 +00:00

10 lines
183 B
Rust

// 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() {}