2 pub trait Test { type T; }
10 pub extern "C" fn issue_28983(t: <u32 as ::Test>::T) -> i32 { t*3 }
13 // to test both exporting and importing functions, import
14 // a function from ourselves.
16 fn issue_28983(t: <u32 as Test>::T) -> i32;
20 assert_eq!(export::issue_28983(2), 6);
21 assert_eq!(unsafe { issue_28983(3) }, 9);