rust/src/test/compile-fail/use-uninit-2.rs
Marijn Haverbeke 3816e57fd2 Downcase std modules again, move to :: for module dereferencing
This should be a snapshot transition.
2011-05-12 21:30:44 +02:00

13 lines
139 B
Rust

// error-pattern::Unsatisfied precondition
fn foo(int x) {
log x;
}
fn main() {
let int x;
if (1 > 2) {
x = 10;
}
foo(x);
}