]>
git.proxmox.com Git - rustc.git/blob - tests/ui/const-generics/const-fn-with-const-param.rs
1 // Checks that `const fn` with const params can be used.
4 const fn const_u32_identity
<const X
: u32>() -> u32 {
9 assert_eq
!(const_u32_identity
::<18>(), 18);