13 lines · plain
1// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}2// RUN: clang-import-test -x objective-c -objc-arc -import %S/Inputs/cleanup-objects.m -dump-ast -expression %s | FileCheck %s3 4// CHECK: FunctionDecl {{.*}} getObj '5// CHECK: ExprWithCleanups6// CHECK-NEXT: cleanup CompoundLiteralExpr7 8extern int getObj();9void test(int c, id a) {10 (void)getObj(c, a);11}12 13