File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ struct State<T> {
2323}
2424
2525struct S {
26- @State var value : Int = 1
26+ @State var value : Int64 = 1
2727
2828 init ( ) {
2929 value = 10 // CRASH
@@ -39,10 +39,10 @@ print(s)
3939// the method of this self type (struct S) does not.
4040
4141// CHECK: define {{.*}}swiftcc ptr @"$s4test1SVACycfC"()
42- // CHECK: [[RES:%.*]] = call swiftcc ptr @"$s4test1SV5valueSivpfP "(i64 1)
42+ // CHECK: [[RES:%.*]] = call swiftcc ptr @"$s4test1SV5values5Int64VvpfP "(i64 1)
4343// CHECK: ret ptr [[RES]]
4444
4545// This used to crash.
4646
4747// CHECK-EXEC: Hello!
48- // CHECK-EXEC: S(_value: main.State<Swift.Int >(ref: main.State<Swift.Int >.(unknown context at {{.*}}).Reference))
48+ // CHECK-EXEC: S(_value: main.State<Swift.Int64 >(ref: main.State<Swift.Int64 >.(unknown context at {{.*}}).Reference))
You can’t perform that action at this time.
0 commit comments