Files
swift-mirror/test/Interpreter/Inputs/resilient_multipayload_enum.swift
Arnold Schwaighofer f295cbee19 IRGen: Fix shift amount in typelayout lowering of mulipayload enums to bits
Transfer the fix in #42131 to the typelayout lowering code. Noticed as part of
investigating the fix for #60590.
2022-08-17 14:33:52 -07:00

10 lines
133 B
Swift

public enum ProblematicEnumeration<T> {
case zero(T)
case one(Bool)
case two
case three
case four
case five
case six
}