blob: ae2b0520fb1c1ee47885195a2120fcb9c2f930b6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// check-pass
// revisions: full min
#![cfg_attr(full, feature(const_generics))] //[full]~WARN the feature `const_generics` is incomplete
#![cfg_attr(min, feature(min_const_generics))]
struct Generic<const V: usize>;
fn main() {
let _ = Generic::<0>;
}
|