]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/const-fn-with-const-param.rs
2 #![feature(const_generics)]
3 //~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
5 const fn const_u32_identity
<const X
: u32>() -> u32 {
10 assert_eq
!(const_u32_identity
::<18>(), 18);