blob: 20e934dc4268c25b3c0743e0e075c5c8d7f8e769 [file] [log] [blame]
// This test verifies that we add the function attributes used by TSan.
// RUN: %target-swift-frontend -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