mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
13 lines
301 B
Swift
13 lines
301 B
Swift
/// rdar://69876253
|
|
// REQUIRES: VENDOR=apple
|
|
// RUN: %target-build-swift %s -o %t.out
|
|
|
|
import SwiftShims
|
|
import Foundation
|
|
|
|
func foo () {
|
|
let a = UnsafeMutableRawPointer.allocate(byteCount: 4, alignment: 4)
|
|
let b = UnsafeMutableRawPointer.allocate(byteCount: 4, alignment: 4)
|
|
memcmp(a, b, 4)
|
|
}
|