1 // RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc
2 // RUN: %run %t 2>&1 | FileCheck %s
4 #import <Foundation/Foundation.h>
8 NSObject* obj1 = [NSObject new];
9 NSObject* obj2 = [NSObject new];
22 NSLog(@"nested 1-2-1-2");
23 // CHECK: nested 1-2-1-2
32 // CHECK-NOT: ThreadSanitizer