blob: 2aca7bdeb9a1442e172a08eda5d07585b5c182bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// run-pass
// revisions: full
// FIXME(#75323) Omitted min revision for now due to ICE.
#![cfg_attr(full, feature(generic_const_exprs))]
#![cfg_attr(full, allow(incomplete_features))]
#![allow(dead_code)]
fn test<const N: usize>() {}
fn wow<'a>() -> &'a () {
test::<{
let _: &'a ();
3
}>();
&()
}
fn main() {}
|