mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +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">;
|
|
}
|