1 // compile-flags: -C no-prepopulate-passes -Zshare-generics=yes
3 // Check that local generics are internalized if they are in the same CGU
5 // CHECK: define internal {{.*}} @_ZN34local_generics_in_exe_internalized3foo{{.*}}
6 pub fn foo<T>(x: T, y: T) -> (T, T) {
11 let _ = foo(0u8, 1u8);