mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I did this using a sed pattern and verified by hand that I was only touching target-swift-emit-silgen lines.
12 lines
377 B
Swift
12 lines
377 B
Swift
// RUN: %target-swift-emit-silgen -I %S/../IDE/Inputs/custom-modules %s -enable-objc-interop -sdk %S/Inputs 2>&1 | %FileCheck --check-prefix=SIL %s
|
|
|
|
import ImportAsMember.C
|
|
|
|
// SIL-LABEL: sil {{.*}}readSemiModularPowerSupply{{.*}}
|
|
public func readSemiModularPowerSupply() -> CCPowerSupply {
|
|
// TODO: actual body
|
|
// FIXME: this asserts
|
|
return CCPowerSupply.semiModular
|
|
}
|
|
|