// RUN: %target-sil-opt -enable-sil-verify-all %s -definite-init -raw-sil-inst-lowering import Builtin import Swift import SwiftShims struct S { var x: (T, T) } sil [ossa] @$s19definite_init_tuple1SV1xx_xtvpfi : $@convention(thin) () -> (@out T, @out T) sil [ossa] @$s19definite_init_tuple1SVACyxGycfC : $@convention(method) (@thin S.Type) -> @out S { bb0(%0 : $*S, %1 : $@thin S.Type): %2 = alloc_box $<τ_0_0> { var S<τ_0_0> } , var, name "self" %3 = mark_uninitialized [rootself] %2 : $<τ_0_0> { var S<τ_0_0> } %4 = project_box %3 : $<τ_0_0> { var S<τ_0_0> } , 0 %5 = struct_element_addr %4 : $*S, #S.x %6 = function_ref @$s19definite_init_tuple1SV1xx_xtvpfi : $@convention(thin) <τ_0_0> () -> (@out τ_0_0, @out τ_0_0) %7 = tuple_element_addr %5 : $*(T, T), 0 %8 = tuple_element_addr %5 : $*(T, T), 1 %9 = apply %6(%7, %8) : $@convention(thin) <τ_0_0> () -> (@out τ_0_0, @out τ_0_0) copy_addr %4 to [init] %0 : $*S destroy_value %3 : $<τ_0_0> { var S<τ_0_0> } %12 = tuple () return %12 : $() }