[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / clang / test / SemaObjCXX / block-cleanup.mm
blob56bbf952d967f7593b47012cc4691768db92eb94
1 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.11.0 -std=gnu++11 -o /dev/null -x objective-c++ -fblocks -ast-dump %s 2>&1 | FileCheck %s
3 // CHECK:      -FunctionDecl {{.*}} test 'id ()'
4 // CHECK-NEXT:   -CompoundStmt
5 // CHECK-NEXT:     -ReturnStmt
6 // CHECK-NEXT:       -ExprWithCleanups
7 // CHECK-NEXT:         -cleanup Block
8 // CHECK-NEXT:         -cleanup Block
10 @interface NSDictionary
11 + (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt;
12 @end
14 id test() {
15   return @{@"a": [](){}, @"b": [](){}};