rust/tests/pretty/let.rs

10 lines
124 B
Rust
Raw Normal View History

2015-01-02 07:28:53 -06:00
// pp-exact
// Check that `let x: _ = 0;` does not print as `let x = 0;`.
fn main() {
let x: _ = 0;
let _ = x;
}