mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
205 B
Rust
15 lines
205 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() {}
|