We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12df78f + 959e71b commit e356b3eCopy full SHA for e356b3e
test/SILGen/default_arguments_generic.swift
@@ -41,6 +41,7 @@ struct InitializableImpl: Initializable {
41
// CHECK-LABEL: sil hidden @$S25default_arguments_generic17testInitializableyyF
42
func testInitializable() {
43
// The ".init" is required to trigger the crash that used to happen.
44
+ _ = Generic<InitializableImpl>()
45
_ = Generic<InitializableImpl>.init()
46
// CHECK: function_ref @$S25default_arguments_generic7GenericVyACyxGxcfcfA_ : $@convention(thin) <τ_0_0 where τ_0_0 : Initializable> () -> @out τ_0_0
47
// CHECK: [[INIT:%.+]] = function_ref @$S25default_arguments_generic7GenericVyACyxGxcfC
0 commit comments