Added UI test case for issue #106419
This commit is contained in:
parent
705a96d39b
commit
8657cb8efe
1 changed files with 12 additions and 0 deletions
|
@ -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() {}
|
Loading…
Add table
Add a link
Reference in a new issue