Mercurial > hg > CbC > CbC_llvm
diff clang/test/CodeGenObjC/objc-read-weak-byref.m @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
line wrap: on
line diff
--- a/clang/test/CodeGenObjC/objc-read-weak-byref.m Wed Jul 21 10:27:27 2021 +0900 +++ b/clang/test/CodeGenObjC/objc-read-weak-byref.m Wed Nov 09 17:45:10 2022 +0900 @@ -1,13 +1,13 @@ -// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | \ +// RUN: %clang_cc1 -no-opaque-pointers -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | \ // RUN: FileCheck %s -// RUN: %clang_cc1 -fblocks -fobjc-gc -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | \ +// RUN: %clang_cc1 -no-opaque-pointers -fblocks -fobjc-gc -triple i386-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -emit-llvm %s -o - | \ // RUN: FileCheck %s @interface NSObject - copy; @end -int main() { +int main(void) { NSObject *object = 0; __weak __block NSObject* weak_object = object; void (^callback) (void) = [^{