summaryrefslogtreecommitdiffstats
path: root/clang/test/ARCMT/api.m
blob: 75401e5772b4aa6d56a28ff4a45b2dbaf6ff367b (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -x objective-c %s > %t
// RUN: diff %t %s.result

#include "Common.h"

void test(NSObject *o) {
  NSZone *z = [o zone];
}
OpenPOWER on IntegriCloud