about summary refs log tree commit diff
path: root/src/test/ui/const-generics/issues/issue-60818-struct-constructors.rs
blob: fb234eb08275ef768bc1523d5538ab07bab7e21b (plain)
1
2
3
4
5
6
7
8
9
10
// check-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>;
}