Files
swift-mirror/test/Interop/SwiftToCxx/cross-module-refs/Inputs/enums.swift
Alex Lorenz 71ef7e8d3d [interop][SwiftToCxx] do not expose unsupported enums yet
This includes indirect enums, enums with multiple associated values, or enums whose associated value is a type we don't yet support
2023-04-20 18:05:00 -07:00

15 lines
259 B
Swift

public struct IntTuple {
let values: (Int64, Int64, Int64, Int64, Int64, Int64)
}
// Large enum passed indirectly.
public enum LargeEnum {
case A(IntTuple)
case B
}
public func passThroughLargeEnum(_ x: LargeEnum) -> LargeEnum {
return x
}