about summary refs log tree commit diff
path: root/src/test/compile-fail/use-uninit.rs
blob: bd2e9f416a2ee4437f356a8742c8bb2d96272db3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// xfail-stage0
// error-pattern:Unsatisfied precondition

fn foo(int x) {
  log x;
}

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