1 #![feature(const_generics, const_compare_raw_pointers)]
2 //~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
4 struct Const<const P: *const u32>;
7 let _: Const<{15 as *const _}> = Const::<{10 as *const _}>; //~ mismatched types
8 let _: Const<{10 as *const _}> = Const::<{10 as *const _}>;