mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The directory currently seems to have a mix of tests for import resolution and name lookup. Therefore split it into two directories; ImportResolution and NameLookup.
15 lines
265 B
Swift
15 lines
265 B
Swift
// Part of operators.swift multi-file test.
|
|
|
|
infix operator ~~ : LowPrecedence
|
|
|
|
precedencegroup LowPrecedence {
|
|
associativity: none
|
|
lowerThan: AssignmentPrecedence
|
|
}
|
|
|
|
public func ~~(x: Int, y: Int) -> Bool {
|
|
return x < y
|
|
}
|
|
|
|
infix operator ~~~ : LowPrecedence
|