aboutsummaryrefslogtreecommitdiff
path: root/test/SemaObjC/access-property-getter.m
blob: 225d63b0173c7fb9c75a669e091a9bb96d78312c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// RUN: clang-cc -verify %s

@protocol NSObject
- (oneway void)release;
@end

@protocol XCOutputStreams <NSObject>
@end


@interface XCWorkQueueCommandInvocation 
{
    id <XCOutputStreams> _outputStream;
}
@end

@interface XCWorkQueueCommandSubprocessInvocation : XCWorkQueueCommandInvocation
@end

@interface XCWorkQueueCommandLocalSubprocessInvocation : XCWorkQueueCommandSubprocessInvocation
@end

@interface XCWorkQueueCommandDistributedSubprocessInvocation : XCWorkQueueCommandSubprocessInvocation
@end

@interface XCWorkQueueCommandCacheFetchInvocation : XCWorkQueueCommandSubprocessInvocation

@end

@implementation XCWorkQueueCommandCacheFetchInvocation
- (id)harvestPredictivelyProcessedOutputFiles
{
     _outputStream.release;
     return 0;
}
@end