mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
11 lines
354 B
Plaintext
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 : $()
|
|
}
|