blob: a205be198013a94fc2d8b3adc108057fc361bd16 [file] [log] [blame]
// RUN: %target-swift-frontend -O -emit-sil -parse-as-library %s | %FileCheck %s
// Test the absence of a 'strict' flag.
// CHECK-LABEL: $S18unsafe_pointer_gen13test_raw_load2rpSiSV_tF
// CHECK: pointer_to_address {{%.*}} : $Builtin.RawPointer to $*Int
public func test_raw_load(rp: UnsafeRawPointer) -> Int {
return rp.load(as: Int.self)
}