rust/tests/crashes/128232.rs
2024-09-18 00:10:25 +02:00

16 lines
221 B
Rust

//@ known-bug: #128232
#![feature(generic_const_exprs, unsized_const_params)]
fn function() {}
struct Wrapper<const F: fn()>;
impl Wrapper<{ bar() }> {
fn call() {}
}
fn main() {
Wrapper::<function>::call;
}