mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +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 };
|
|
}
|