blob: 67fefd07ec0c4864d5d2f20bb0ec0c035b2e9b04 (
plain)
1
2
3
4
5
6
|
// check-pass
#![feature(generic_const_exprs, const_generics_defaults)]
#![allow(incomplete_features)]
struct Foo<const N: usize, const M: usize = { N + 1 }>;
struct Bar<const N: usize>(Foo<N, 3>);
fn main() {}
|