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

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

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