mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 07:53:26 +00:00
9 lines
178 B
Rust
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">;
|
|
}
|