mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
These emit SIL in the correct order currently, just need some adjustment for Windows. Improves test coverage on Windows. Splintered from PR21371.
7 lines
419 B
Swift
7 lines
419 B
Swift
// RUN: %target-swift-emit-silgen -enable-objc-interop -disable-objc-attr-requires-foundation-module -import-objc-header %S/Inputs/array_typedef.h %s | %FileCheck %s
|
|
|
|
// CHECK-LABEL: sil shared [transparent] [serializable] [ossa] @$sSo4NameV{{[_0-9a-zA-Z]*}}fC : $@convention(method) (UInt8, UInt8, UInt8, UInt8, @thin Name.Type) -> Name
|
|
func useImportedArrayTypedefInit() -> Name {
|
|
return Name(name: (0, 0, 0, 0))
|
|
}
|