Skip to content

Commit 8c21ec6

Browse files
committed
[tests] Migrate operator declarations to Swift 4 syntax in SILGen tests
1 parent 05350cd commit 8c21ec6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/SILGen/Inputs/AppKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ public func NSApplicationMain(
99
return argv.withMemoryRebound(to:UnsafePointer<Int8>.self, capacity: Int(argc)) {
1010
argv in
1111
return __NSApplicationMain(argc, argv)
12-
})
12+
}
1313
}

test/SILGen/protocol_resilience.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
import resilient_protocol
77

8-
prefix operator ~~~ {}
9-
infix operator <*> {}
10-
infix operator <**> {}
11-
infix operator <===> {}
8+
prefix operator ~~~
9+
infix operator <*>
10+
infix operator <**>
11+
infix operator <===>
1212

1313
public protocol P {}
1414

test/SILGen/witnesses.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
// RUN: %target-swift-frontend -module-name witnesses -Xllvm -sil-full-demangle -emit-silgen %s -disable-objc-attr-requires-foundation-module -enable-sil-ownership | %FileCheck %s
33

4-
infix operator <~> {}
4+
infix operator <~>
55

66
func archetype_method<T: X>(x: T, y: T) -> T {
77
var x = x

0 commit comments

Comments
 (0)