Added UI test case for issue #106419

This commit is contained in:
Patrik Kårlin 2023-01-19 15:39:05 +01:00
parent 705a96d39b
commit 8657cb8efe

View File

@ -0,0 +1,12 @@
// check-pass
#![feature(generic_const_exprs)]
#![allow(incomplete_features)]
#[derive(Clone)]
struct Bar<const A: usize, const B: usize>
where
[(); A as usize]:,
[(); B as usize]:,
{}
fn main() {}