mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
21 lines
1.1 KiB
Swift
21 lines
1.1 KiB
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=NonMemberInline -I %S/Inputs -source-filename=x -enable-cxx-interop | %FileCheck %s
|
|
|
|
// CHECK: func + (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func - (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func * (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func / (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func % (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func & (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func | (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func << (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func >> (lhs: IntBox, rhs: IntBox) -> IntBox
|
|
// CHECK-NEXT: func < (lhs: IntBox, rhs: IntBox) -> Bool
|
|
// CHECK-NEXT: func > (lhs: IntBox, rhs: IntBox) -> Bool
|
|
// CHECK-NEXT: func == (lhs: IntBox, rhs: IntBox) -> Bool
|
|
// CHECK-NEXT: func != (lhs: IntBox, rhs: IntBox) -> Bool
|
|
// CHECK-NEXT: func <= (lhs: IntBox, rhs: IntBox) -> Bool
|
|
// CHECK-NEXT: func >= (lhs: IntBox, rhs: IntBox) -> Bool
|
|
|
|
// CHECK: func && (lhs: BoolBox, rhs: BoolBox) -> BoolBox
|
|
// CHECK-NEXT: func || (lhs: BoolBox, rhs: BoolBox) -> BoolBox
|