mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
336 B
Swift
10 lines
336 B
Swift
// RUN: %target-swift-emit-ir %s -enable-experimental-feature Embedded -verify -wmo
|
|
|
|
// REQUIRES: swift_feature_Embedded
|
|
// REQUIRES: OS=macosx
|
|
|
|
@_cdecl("posix_memalign")
|
|
func posix_memalign(_ resultPtr:UnsafeMutablePointer<UnsafeMutableRawPointer?>, _ :Int, _ :Int) -> Int32 { // okay: @_extern(c) declaration is separate
|
|
return 0
|
|
}
|