mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Instead of adding a resolveDeclSignature() call here, I'm going to live dangerously and try to only get the enum element type in the case where SIL type lowering has already computed it, that is, if the enum is not indirect. Soon this will become moot anyway because getInterfaceType() will be a request.
4 lines
164 B
Swift
4 lines
164 B
Swift
// RUN: %target-swift-frontend -emit-ir -primary-file %s %S/Inputs/require-layout-enum-other.swift -module-name layout
|
|
|
|
public func returnE() -> E { return .blah }
|