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 // min-lldb-version: 310
18 // gdb-command:print arg1
20 // gdb-command:print arg2
22 // gdb-command:continue
25 // gdb-command:print arg1
27 // gdb-command:print arg2
29 // gdb-command:print arg3
31 // gdb-command:continue
34 #![feature(omit_gdb_pretty_printer_section)]
35 #![omit_gdb_pretty_printer_section]
43 fn static_method<T1, T2>(arg1: T1, arg2: T2) -> isize {
50 Variant1 { x: isize },
52 Variant3(f64, isize, char),
57 fn static_method<T1, T2, T3>(arg1: T1, arg2: T2, arg3: T3) -> isize {
64 Struct::static_method(1, 2);
65 Enum::static_method(-3, 4.5f64, 5);