1 // Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // ignore-android: FIXME(#10381)
12 // min-lldb-version: 310
16 // === GDB TESTS ===================================================================================
20 // gdb-command:print a
21 // gdb-check:$1 = 10101
22 // gdb-command:continue
24 // gdb-command:print b
25 // gdb-check:$2 = 20202
26 // gdb-command:continue
28 // gdb-command:print c
29 // gdb-check:$3 = 30303
32 // === LLDB TESTS ==================================================================================
36 // lldb-command:print a
37 // lldb-check:[...]$0 = 10101
38 // lldb-command:continue
40 // lldb-command:print b
41 // lldb-check:[...]$1 = 20202
42 // lldb-command:continue
44 // lldb-command:print c
45 // lldb-check:[...]$2 = 30303
47 #![allow(unused_variables)]
48 #![omit_gdb_pretty_printer_section]