mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-03 21:48:35 +00:00
12 lines
172 B
Rust
12 lines
172 B
Rust
//@ revisions:rpass1 rpass2
|
|
//@ ignore-backends: gcc
|
|
|
|
#[cfg(rpass1)]
|
|
pub static A: i32 = 42;
|
|
#[cfg(rpass2)]
|
|
pub static A: i32 = 43;
|
|
|
|
pub static B: &i32 = &A;
|
|
|
|
fn main() {}
|