xref: /aosp_15_r20/external/clang/test/CodeGenObjC/rdr-6732143-dangling-block-reference.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -fobjc-exceptions %s -o -
2*67e74705SXin Li
3*67e74705SXin Livoid f0(id x) {
4*67e74705SXin Li  @synchronized (x) {
5*67e74705SXin Li    do { ; } while(0);
6*67e74705SXin Li    @try {
7*67e74705SXin Li    } @finally {
8*67e74705SXin Li    }
9*67e74705SXin Li  }
10*67e74705SXin Li}
11