blob: 76febeb6473a4bdae085554681af2c9fea82be02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: %clang_cc1 -E -fsanitize=realtime %s -o - | FileCheck --check-prefix=CHECK-RTSAN %s
// RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-RTSAN %s
#if __has_feature(realtime_sanitizer)
int RealtimeSanitizerEnabled();
#else
int RealtimeSanitizerDisabled();
#endif
// CHECK-RTSAN: RealtimeSanitizerEnabled
// CHECK-NO-RTSAN: RealtimeSanitizerDisabled
|