File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -98,3 +98,16 @@ struct U {
98
98
// CHECK-NEXT: }
99
99
}
100
100
101
+ struct V {
102
+ // CHECK-LABEL: sil_coverage_map {{.*}} // property wrapper backing initializer of coverage_property_wrapper_backing.V.x
103
+ // CHECK-NEXT: [[@LINE+2]]:4 -> [[@LINE+2]]:14 : 0
104
+ // CHECK-NEXT: }
105
+ @Wrapper ( 0 )
106
+ var x = switch Bool . random ( ) { case true : 0 case false : 0 }
107
+ // CHECK-LABEL: sil_coverage_map {{.*}} // variable initialization expression of coverage_property_wrapper_backing.V.(_x
108
+ // CHECK-NEXT: [[@LINE-2]]:11 -> [[@LINE-2]]:62 : 0
109
+ // CHECK-NEXT: [[@LINE-3]]:18 -> [[@LINE-3]]:31 : 0
110
+ // CHECK-NEXT: [[@LINE-4]]:34 -> [[@LINE-4]]:46 : 1
111
+ // CHECK-NEXT: [[@LINE-5]]:47 -> [[@LINE-5]]:60 : 2
112
+ // CHECK-NEXT: }
113
+ }
You can’t perform that action at this time.
0 commit comments