blob: c384bc1e36d023f81cba9a067bacaa52b7e5618e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// check-pass
#![feature(const_generics)]
#![allow(incomplete_features)]
struct Foo<const V: [usize; 0] > {}
type MyFoo = Foo<{ [] }>;
fn main() {
let _ = Foo::<{ [] }> {};
}
|