From cd9e81a363599fbd6c852fd649e23ba0a5b3c540 Mon Sep 17 00:00:00 2001 From: Kuba Brecka Date: Fri, 5 Dec 2014 21:32:22 +0000 Subject: [PATCH] Reverting r223513 and r223514. llvm-svn: 223519 --- compiler-rt/test/asan/TestCases/Darwin/objc-odr.mm | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 compiler-rt/test/asan/TestCases/Darwin/objc-odr.mm diff --git a/compiler-rt/test/asan/TestCases/Darwin/objc-odr.mm b/compiler-rt/test/asan/TestCases/Darwin/objc-odr.mm deleted file mode 100644 index 72bc39c..0000000 --- a/compiler-rt/test/asan/TestCases/Darwin/objc-odr.mm +++ /dev/null @@ -1,23 +0,0 @@ -// Regression test for -// https://code.google.com/p/address-sanitizer/issues/detail?id=360. - -// RUN: %clang_asan %s -o %t -framework Foundation -// RUN: %run %t 2>&1 | FileCheck %s - -#import - -void f() { - int y = 7; - dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{ - dispatch_sync(dispatch_get_main_queue(), ^{ - printf("num = %d\n", y); - }); - }); -} - -int main() { - NSLog(@"Hello world"); -} - -// CHECK-NOT: AddressSanitizer: odr-violation -// CHECK: Hello world -- 2.7.4