[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / error-outof-scope-property-use.m
blobc480e2df0b7ee6dea1a669857461aa8e81d2c721
1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s
3 // rdar://13178483
5 @class NSMutableDictionary; // expected-note {{receiver is instance of class declared here}}
7 @interface LaunchdJobs 
9 @property (nonatomic,retain) NSMutableDictionary *uuids_jobs; // expected-note {{'_uuids_jobs' declared here}}
11 @end
13 @implementation LaunchdJobs
15 -(void)job
18  [uuids_jobs objectForKey]; // expected-error {{use of undeclared identifier 'uuids_jobs'}} \
19                             // expected-warning {{instance method '-objectForKey' not found}}
23 @end
25 void
26 doLaunchdJobCPU()
28  [uuids_jobs enumerateKeysAndObjectsUsingBlock]; // expected-error {{use of undeclared identifier 'uuids_jobs'}}