File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 4
4
5
5
// REQUIRES: objc_interop
6
6
7
- // This test currently fails iphonesimulator-i386.
8
- // REQUIRES: CPU=x86_64
9
-
10
7
import Foundation
11
8
12
9
class Foo : NSObject {
@@ -21,16 +18,12 @@ func hasKVCString() -> String? {
21
18
// CHECK: string_literal utf8 "doesIndeedHaveAKVCString"
22
19
// CHECK-NOT: = keypath
23
20
// CHECK: [[RESULT:%.*]] = enum $Optional<String>, #Optional.some
24
- // CHECK-NEXT: return [[RESULT:%.*]]
25
- // CHECK-NEXT: }
26
21
return ( \Foo . hasKVCString) . _kvcKeyPathString
27
22
}
28
23
29
24
// CHECK-LABEL: sil hidden @{{.*}}21optimize_keypath_objc11noKVCString
30
25
func noKVCString( ) -> String ? {
31
26
// CHECK-NOT: = keypath
32
27
// CHECK: [[RESULT:%.*]] = enum $Optional<String>, #Optional.none
33
- // CHECK-NEXT: return [[RESULT:%.*]]
34
- // CHECK-NEXT: }
35
28
return ( \Foo . noKVCString) . _kvcKeyPathString
36
29
}
You can’t perform that action at this time.
0 commit comments