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

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

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