2016-04-26 12:51:14 -05:00
|
|
|
#![crate_type = "rlib"]
|
|
|
|
|
|
|
|
#![allow(unused_variables)]
|
|
|
|
#![feature(omit_gdb_pretty_printer_section)]
|
|
|
|
#![omit_gdb_pretty_printer_section]
|
|
|
|
|
2024-02-22 06:10:29 -06:00
|
|
|
//@ no-prefer-dynamic
|
|
|
|
//@ compile-flags:-g
|
2016-04-26 12:51:14 -05:00
|
|
|
|
|
|
|
pub fn generic_function<T: Clone>(val: T) -> (T, T) {
|
|
|
|
let result = (val.clone(), val.clone());
|
|
|
|
let a_variable: u32 = 123456789;
|
|
|
|
let another_variable: f64 = 123456789.5;
|
|
|
|
zzz();
|
|
|
|
result
|
|
|
|
}
|
|
|
|
|
|
|
|
#[inline(never)]
|
|
|
|
fn zzz() {()}
|