Files
swift-mirror/test/IRGen/pack_marker_insertion.swift
Nate Chandler ad2223d854 [IRGen] alloc_stack may allocate pack metadata.
When it's a tuple containing a pack.
2023-07-27 08:34:15 -07:00

7 lines
309 B
Swift

// RUN: %target-swift-frontend -emit-ir %s
// Verify that we don't hit the `Instruction missing on-stack pack metadata cleanups!` assertion.
// For alloc_stacks of tuples featuring a pack.
public func tupleExpansionWithMemberType<each T: Sequence>(seqs: (repeat each T), elts: (repeat (each T).Element)) {}