rust/tests/crashes/131052.rs
2024-10-09 15:34:45 +02:00

9 lines
178 B
Rust

//@ known-bug: #131052
#![feature(adt_const_params)]
struct ConstBytes<const T: &'static [*mut u8; 3]>;
pub fn main() {
let _: ConstBytes<b"AAA"> = ConstBytes::<b"BBB">;
}