[Sanitizer] Add rudimentary support for wide-character strings to scanf/printf interc...
[blocksruntime.git] / test / tsan / thread_end_with_ignore2.cc
blob224599c95d7b363512971fef5263be35a26be639
1 // RUN: %clangxx_tsan -O1 %s -o %t && not %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