]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/generic_const_exprs/issue-89851.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / const-generics / generic_const_exprs / issue-89851.rs
1 // check-pass
2 // (this requires debug assertions)
3
4 #![feature(adt_const_params)]
5 #![allow(incomplete_features)]
6
7 pub const BAR: () = ice::<"">();
8 pub const fn ice<const N: &'static str>() {
9     &10;
10 }
11
12 fn main() {}