mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
15 lines
204 B
Rust
15 lines
204 B
Rust
// check-pass
|
|
|
|
const _: bool = false && false;
|
|
const _: bool = true && false;
|
|
const _: bool = {
|
|
let mut x = true && false;
|
|
x
|
|
};
|
|
const _: bool = {
|
|
let x = true && false;
|
|
x
|
|
};
|
|
|
|
fn main() {}
|