mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00

Co-authored-by: Boxy UwU <rust@boxyuwu.dev> Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
8 lines
124 B
Rust
8 lines
124 B
Rust
//@ check-pass
|
|
|
|
pub static STATIC: u32 = 0;
|
|
pub struct Foo<const N: u32>;
|
|
pub const FOO: Foo<{STATIC}> = Foo;
|
|
|
|
fn main() {}
|