You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Interop/Cxx/class/safe-interop-mode.swift
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -65,11 +65,7 @@ import CxxStdlib
65
65
func useUnsafeParam(x:Unannotated){ // expected-note{{reference to unsafe struct 'Unannotated'}}
66
66
}
67
67
68
-
<<<<<<< HEAD
69
-
// expected-warning@+2{{global function 'useUnsafeParam2' involves unsafe code; use '@unsafe' to indicate that its use is not memory-safe}}{{11:1-1=@unsafe }}
70
-
=======
71
-
// expected-warning@+2{{global function 'useUnsafeParam2' has an interface that is not memory-safe}}{{10:1-1=@unsafe }}
72
-
>>>>>>> ad874db0851 (Implement an `unsafe` expression to cover uses of unsafe constructs)
68
+
// expected-warning@+2{{global function 'useUnsafeParam2' has an interface that is not memory-safe}}{{11:1-1=@unsafe }}
73
69
@available(SwiftStdlib 5.8,*)
74
70
func useUnsafeParam2(x:UnsafeReference){ // expected-note{{reference to unsafe class 'UnsafeReference'}}
0 commit comments