You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
299 B
14 lines
299 B
// Test that a simple Obj-C program runs and exits without any warnings.
|
|
|
|
// RUN: %clang_tsan %s -o %t -framework Foundation
|
|
// RUN: %run %t 2>&1 | FileCheck %s
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
int main() {
|
|
NSLog(@"Hello world");
|
|
}
|
|
|
|
// CHECK: Hello world
|
|
// CHECK-NOT: WARNING: ThreadSanitizer
|