1// RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
2extern "C" void AnnotateIgnoreWritesBegin(const char *f, int l);
3
4int main() {
5 AnnotateIgnoreWritesBegin("", 0);
6}
7
8// CHECK: ThreadSanitizer: main thread finished with ignores enabled
9// CHECK: Ignore was enabled at:
10// CHECK: #0 AnnotateIgnoreWritesBegin
11// CHECK: #1 main
12
13