mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
9 lines
271 B
Swift
9 lines
271 B
Swift
// This test verifies that we add the function attributes used by ASan.
|
|
|
|
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir -sanitize=address %s | %FileCheck %s -check-prefix=ASAN
|
|
|
|
func test() {
|
|
}
|
|
|
|
// ASAN: Function Attrs: sanitize_address
|