summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/generic_const_exprs/issue-89851.rs
blob: cde849d901788169cc51269a2e8693a323d1d5a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass
// (this requires debug assertions)

#![feature(adt_const_params)]
#![allow(incomplete_features)]

pub const BAR: () = ice::<"">();
pub const fn ice<const N: &'static str>() {
    &10;
}

fn main() {}