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

#include "Common.h"

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