diff options
Diffstat (limited to 'src/test/compile-fail/asm-out-read-uninit.rs')
| -rw-r--r-- | src/test/compile-fail/asm-out-read-uninit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/asm-out-read-uninit.rs b/src/test/compile-fail/asm-out-read-uninit.rs index b63865921c6..65750eb926b 100644 --- a/src/test/compile-fail/asm-out-read-uninit.rs +++ b/src/test/compile-fail/asm-out-read-uninit.rs @@ -19,7 +19,7 @@ fn foo(x: int) { info!("{}", x); } pub fn main() { let x: int; unsafe { - asm!("mov $1, $0" : "=r"(x) : "r"(x)); //~ ERROR use of possibly uninitialized value: `x` + asm!("mov $1, $0" : "=r"(x) : "r"(x)); //~ ERROR use of possibly uninitialized variable: `x` } foo(x); } |
