rust/src/test/compile-fail/use-uninit.rs

10 lines
108 B
Rust
Raw Normal View History

// error-pattern::Unsatisfied precondition
fn foo(int x) {
log x;
}
fn main() {
let int x;
foo(x);
}