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