Files
swift-mirror/test/TBD/async-function-pointer.swift
Nate Chandler 73cfca89b6 [IRGen] Corrected mangling of AsyncFunctionPointers.
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
2020-12-15 18:24:25 -08:00

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() { }