about summary refs log tree commit diff
path: root/tests/ui/const-generics/generic_const_exprs/issue-90847.rs
blob: a5d7acb2c8f9725501c5eab124c52fde702590eb (plain)
1
2
3
4
5
6
7
8
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() {}