about summary refs log tree commit diff
path: root/src/test/compile-fail/use-uninit.rs
blob: 75e60bdbce3c89abe532d92a2266f081e9e537c0 (plain)
1
2
3
4
5
// error-pattern:Unsatisfied precondition

fn foo(x: int) { log x; }

fn main() { let x: int; foo(x); }