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-command:whatis unit
17 // gdb-check:type = ()
18 // gdb-command:whatis b
19 // gdb-check:type = bool
20 // gdb-command:whatis i
21 // gdb-check:type = int
22 // gdb-command:whatis c
23 // gdb-check:type = char
24 // gdb-command:whatis i8
25 // gdb-check:type = i8
26 // gdb-command:whatis i16
27 // gdb-check:type = i16
28 // gdb-command:whatis i32
29 // gdb-check:type = i32
30 // gdb-command:whatis i64
31 // gdb-check:type = i64
32 // gdb-command:whatis u
33 // gdb-check:type = uint
34 // gdb-command:whatis u8
35 // gdb-check:type = u8
36 // gdb-command:whatis u16
37 // gdb-check:type = u16
38 // gdb-command:whatis u32
39 // gdb-check:type = u32
40 // gdb-command:whatis u64
41 // gdb-check:type = u64
42 // gdb-command:whatis f32
43 // gdb-check:type = f32
44 // gdb-command:whatis f64
45 // gdb-check:type = f64
46 // gdb-command:info functions _yyy
47 // gdb-check:[...]![...]_yyy([...])([...]);
48 // gdb-command:continue
50 #![allow(unused_variables)]
51 #![omit_gdb_pretty_printer_section]
70 if 1i == 1 { _yyy(); }
74 fn _yyy() -> ! {panic!()}