Files
swift-mirror/test/IRGen/inout_noalias.sil
Anthony Latsis b5aec4cc34 [test] Remove pre-rebranch nocapture matches
These were added in https://github.com/swiftlang/swift/pull/81375 (and
several other follow-up PRs because we missed a few places) and
are no longer needed.
2025-10-24 02:07:22 +01:00

11 lines
354 B
Plaintext

// RUN: %target-swift-frontend -parse-sil %s -emit-ir | %FileCheck %s
import Swift
// CHECK: define{{.*}}swiftcc void @takeInoutAliasable(ptr captures(none) dereferenceable({{[0-9]+}}) %0, ptr %T)
sil @takeInoutAliasable : $<T> (@inout_aliasable UnsafePointer<T>) -> () {
entry(%ptr : $*UnsafePointer<T>):
%retval = tuple ()
return %retval : $()
}