// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. // ignore-android: FIXME(#10381) // compile-flags:-g // gdb-command:rbreak zzz // gdb-command:run // gdb-command:finish // gdb-command:print abc // gdb-check:$1 = 10101 // gdb-command:continue // gdb-command:finish // gdb-command:print abc // gdb-check:$2 = 20202 // gdb-command:continue // gdb-command:finish // gdb-command:print abc // gdb-check:$3 = 30303 #![allow(unused_variable)] fn function_one() { let abc = 10101i; zzz(); } fn function_two() { let abc = 20202i; zzz(); } fn function_three() { let abc = 30303i; zzz(); } fn main() { function_one(); function_two(); function_three(); } fn zzz() {()}