2021-07-08 22:57:10 +02:00
|
|
|
// check-pass
|
2021-10-23 16:57:49 +01:00
|
|
|
#![feature(generic_const_exprs)]
|
2021-07-08 22:57:10 +02:00
|
|
|
#![allow(incomplete_features)]
|
|
|
|
struct Foo<const N: usize, const M: usize = { N + 1 }>;
|
|
|
|
struct Bar<const N: usize>(Foo<N, 3>);
|
|
|
|
fn main() {}
|