Skip to content

Commit 6ec22c2

Browse files
committed
Fix mis-merge in test case
1 parent 1b7707d commit 6ec22c2

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/Interop/Cxx/class/safe-interop-mode.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ import CxxStdlib
6565
func useUnsafeParam(x: Unannotated) { // expected-note{{reference to unsafe struct 'Unannotated'}}
6666
}
6767

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 }}
7369
@available(SwiftStdlib 5.8, *)
7470
func useUnsafeParam2(x: UnsafeReference) { // expected-note{{reference to unsafe class 'UnsafeReference'}}
7571
}

0 commit comments

Comments
 (0)