mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously, the suffix "AD" was used to mangle AsyncFunctionPointers. That was incorrect because it was already used in the mangling scheme. Here, that error is fixed by using 'u' under the thunk or specialization operator 'T' to mangle AsyncFunctionPointers. Additionally, printing and demangling support is added. rdar://problem/72336407
8 lines
283 B
Swift
8 lines
283 B
Swift
// REQUIRES: VENDOR=apple
|
|
// RUN: %target-swift-frontend -emit-ir %s -enable-experimental-concurrency -validate-tbd-against-ir=all -module-name test | %FileCheck %s
|
|
|
|
// CHECK: @"$s4test6testityyYFTu" = hidden global %swift.async_func_pointer
|
|
|
|
@asyncHandler
|
|
public func testit() { }
|