mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix tests and re-enable support for CXX operators
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
// CHECK-NEXT: struct X {
|
||||
// CHECK-NEXT: init()
|
||||
// CHECK-NEXT: }
|
||||
// TODO: check this again when operators are re-enabled: rdar://91070109 (also please enable this in the execution test "free-functions.swift")
|
||||
// CHECK-NOT: static func +
|
||||
// CHECK-NEXT: static func + (_: FunctionsNS1.X, _: FunctionsNS1.X) -> UnsafePointer<CChar>!
|
||||
// CHECK-NEXT: static func sameNameInChild() -> UnsafePointer<CChar>!
|
||||
// CHECK-NEXT: static func sameNameInSibling() -> UnsafePointer<CChar>!
|
||||
// CHECK-NEXT: enum FunctionsNS2 {
|
||||
@@ -21,8 +20,7 @@
|
||||
// CHECK-NEXT: static func definedInDefs() -> UnsafePointer<CChar>!
|
||||
// CHECK-NEXT: }
|
||||
|
||||
// TODO: check this again when operators are re-enabled: rdar://91070109 (also please enable this in the execution test "free-functions.swift")
|
||||
// CHECK-NOT: static func +
|
||||
// CHECK-NEXT: static func + (_: FunctionsNS1.X, _: FunctionsNS1.X) -> UnsafePointer<CChar>!
|
||||
|
||||
// CHECK-NEXT: enum FunctionsNS4 {
|
||||
// CHECK-NEXT: static func sameNameInSibling() -> UnsafePointer<CChar>!
|
||||
|
||||
Reference in New Issue
Block a user