summary refs log tree commit diff
path: root/src/test/ui/const-generics/issue-60818-struct-constructors.rs
blob: 0b4aeae7a4a390ea5ea8f8b771fb53d88f368963 (plain)
1
2
3
4
5
6
7
8
9
10
// compile-pass

#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash

struct Generic<const V: usize>;

fn main() {
    let _ = Generic::<0>;
}