10 lines
155 B
Rust
10 lines
155 B
Rust
// skip-filecheck
|
|
// unit-test: ConstProp
|
|
|
|
static FOO: u8 = 2;
|
|
|
|
// EMIT_MIR read_immutable_static.main.ConstProp.diff
|
|
fn main() {
|
|
let x = FOO + FOO;
|
|
}
|