mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
...and repurpose "SC" for (C)lang-importer-synthesized decls, instead of just decls that are C-like instead of ObjC-like. (See next commits.)
7 lines
356 B
Swift
7 lines
356 B
Swift
// RUN: %target-swift-frontend -emit-silgen -import-objc-header %S/Inputs/array_typedef.h %s | %FileCheck %s
|
|
|
|
// CHECK-LABEL: sil shared [transparent] [serializable] @_T0So4NameV{{[_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))
|
|
}
|