• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clangxx_tsan -O1 %s -o %t && %deflake %run %t | FileCheck %s
2 extern "C" void AnnotateIgnoreWritesBegin(const char *f, int l);
3 
main()4 int 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