blob: 3fbc80122bcd1b61370f8a00eeb5e14f36b7150a [file] [log] [blame]
// This test verifies that we add the function attributes used by TSan.
// RUN: %target-swift-frontend -assume-parsing-unqualified-ownership-sil -emit-ir -sanitize=thread %s | %FileCheck %s -check-prefix=TSAN
// TSan is currently only supported on 64 bit mac and simulators.
// (We do not test the simulators here.)
// REQUIRES: CPU=x86_64, OS=macosx
func test() {
}
// TSAN: Function Attrs: sanitize_thread