mirror of
https://github.com/apple/swift.git
synced 2026-10-16 16:50:49 +02:00
We don't currently support C++23 deducing this parameters. Until we do, let's not expose incorrect function signatures to Swift. rdar://161345481
7 lines
340 B
Swift
7 lines
340 B
Swift
// RUN: %target-swift-ide-test -print-module -module-to-print=DeducingThis -I %S/Inputs -source-filename=x -cxx-interoperability-mode=upcoming-swift -Xcc -std=c++23 | %FileCheck %s
|
|
|
|
// This mostly ensures that we don't import deducing this method with an incorrect signature.
|
|
|
|
// CHECK: struct HasDeducingThis {
|
|
// CHECK-NOT: deducingRef
|