diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2014-12-05 21:32:22 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2014-12-05 21:32:22 +0000 |
commit | da692131956c4c71cdd494cf3fd1df4739dca192 (patch) | |
tree | 4133376d131433fe8f1ad73c6767d9c3f02f8869 /test | |
parent | 3b4af7564938d0ce6c1eee89fe769b33e601b72e (diff) |
Reverting r223513 and r223514.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@223519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/asan/TestCases/Darwin/objc-odr.mm | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/asan/TestCases/Darwin/objc-odr.mm b/test/asan/TestCases/Darwin/objc-odr.mm deleted file mode 100644 index 72bc39c80..000000000 --- a/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 <Foundation/Foundation.h> - -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 |