mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-22 12:43:36 +00:00
Added UI test case for issue #106419
This commit is contained in:
parent
705a96d39b
commit
8657cb8efe
@ -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…
Reference in New Issue
Block a user