mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
8 lines
131 B
Rust
8 lines
131 B
Rust
// this used to just ICE on compiling
|
|
pub fn foo() {
|
|
if cfg!(foo) {
|
|
static a: isize = 3;
|
|
a
|
|
} else { 3 };
|
|
}
|