brintos

brintos / llvm-project-archived public Read only

0
0
Text · 552 B · 56bbf95 Raw
17 lines · plain
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 %s2 3// CHECK:      -FunctionDecl {{.*}} test 'id ()'4// CHECK-NEXT:   -CompoundStmt5// CHECK-NEXT:     -ReturnStmt6// CHECK-NEXT:       -ExprWithCleanups7// CHECK-NEXT:         -cleanup Block8// CHECK-NEXT:         -cleanup Block9 10@interface NSDictionary11+ (id)dictionaryWithObjects:(const id [])objects forKeys:(const id [])keys count:(unsigned long)cnt;12@end13 14id test() {15  return @{@"a": [](){}, @"b": [](){}};16}17