Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar71816041.swift
2020-12-01 06:39:13 -05:00

10 lines
276 B
Swift

// RUN: %target-swift-frontend -emit-ir -primary-file %s -enable-experimental-concurrency
// REQUIRES: concurrency
func getIntAndString() async -> (Int, String) { (5, "1") }
func testDecompose() async -> Int {
async let (i, s) = await getIntAndString()
return await i
}