summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/const-param-after-const-literal-arg.rs
blob: d8a0e076e0a46ac464e91570a93a29202e0667c8 (plain)
1
2
3
4
5
6
7
// check-pass

struct Foo<const A: usize, const B: usize>;

impl<const A: usize> Foo<1, A> {} // ok

fn main() {}