[ASan/Win] Add a comment about DCL-using-static vs threads
[blocksruntime.git] / test / tsan / thread_end_with_ignore2.cc
blobca9b5ca895e1623ecaaa3684f9ffdb7c0e428838
1 // RUN: %clangxx_tsan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s
2 extern "C" void AnnotateIgnoreWritesBegin(const char *f, int l);
4 int main() {
5 AnnotateIgnoreWritesBegin("", 0);
8 // CHECK: ThreadSanitizer: main thread finished with ignores enabled
9 // CHECK: Ignore was enabled at:
10 // CHECK: #0 AnnotateIgnoreWritesBegin
11 // CHECK: #1 main