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> {
23
23
}
24
24
25
25
struct S {
26
- @State var value : Int = 1
26
+ @State var value : Int64 = 1
27
27
28
28
init ( ) {
29
29
value = 10 // CRASH
@@ -39,10 +39,10 @@ print(s)
39
39
// the method of this self type (struct S) does not.
40
40
41
41
// CHECK: define {{.*}}swiftcc ptr @"$s4test1SVACycfC"()
42
- // CHECK: [[RES:%.*]] = call swiftcc ptr @"$s4test1SV5valueSivpfP "(i64 1)
42
+ // CHECK: [[RES:%.*]] = call swiftcc ptr @"$s4test1SV5values5Int64VvpfP "(i64 1)
43
43
// CHECK: ret ptr [[RES]]
44
44
45
45
// This used to crash.
46
46
47
47
// 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