5 // This should be exported
6 pub fn public_rust_function_from_rust_dylib() {}
8 // This should be exported
10 pub extern "C" fn public_c_function_from_rust_dylib() {
11 let _ = public_generic_function_from_rust_dylib(1u16);
14 // This should be exported if -Zshare-generics=yes
15 pub fn public_generic_function_from_rust_dylib<T>(x: T) -> T { x }