1// RUN: %clangxx_tsan -O0 %s -o %t -framework Foundation && %run %t 2>&1 | FileCheck %s 2// RUN: %clangxx_tsan -O1 %s -o %t -framework Foundation && %run %t 2>&1 | FileCheck %s 3// RUN: %clangxx_tsan -O2 %s -o %t -framework Foundation && %run %t 2>&1 | FileCheck %s 4// RUN: %clangxx_tsan -O3 %s -o %t -framework Foundation && %run %t 2>&1 | FileCheck %s 5 6#import <Foundation/Foundation.h> 7 8@interface MyClass : NSObject 9@property float a; 10@property double b; 11@property long double c; 12@end 13 14@implementation MyClass 15@end 16 17int main() { 18 NSLog(@"Hello world"); 19} 20 21// CHECK: Hello world 22