2 // We used to have a __rust_abi shim that resulted in duplicated symbols
3 // whenever the item path wasn't enough to disambiguate between them.
6 extern "C" fn good() -> i32 { return 0; }
7 good as extern "C" fn() -> i32
10 extern "C" fn good() -> i32 { return 5; }
11 good as extern "C" fn() -> i32
15 assert_eq!((a(), b()), (0, 5));