blob: 184519b408fae1a6290de57aa832e3023a6bdc18 [file] [log] [blame]
Steve Naroffece8e712009-10-08 21:55:05 +00001// Note: the run lines follow their respective tests, since line/column
2// matter in this test.
3
4@interface Foo {
5 void *isa;
6}
7@property(copy) Foo *myprop;
8@property(retain, nonatomic) id xx;
Daniel Dunbar4fcfde42009-11-08 01:45:36 +00009// RUN: clang-cc -fsyntax-only -code-completion-at=%s:7:11 %s -o - | FileCheck -check-prefix=CC1 %s
Steve Naroff7f511122009-10-08 23:45:10 +000010// CC1: assign
11// CC1-NEXT: copy
12// CC1-NEXT: getter
13// CC1-NEXT: nonatomic
14// CC1-NEXT: readonly
Steve Naroffece8e712009-10-08 21:55:05 +000015// CC1-NEXT: readwrite
16// CC1-NEXT: retain
Steve Naroffece8e712009-10-08 21:55:05 +000017// CC1-NEXT: setter
Steve Naroffece8e712009-10-08 21:55:05 +000018// RUN: clang-cc -fsyntax-only -code-completion-at=%s:8:18 %s -o - | FileCheck -check-prefix=CC2 %s
Steve Naroff7f511122009-10-08 23:45:10 +000019// CC2: assign
Steve Naroffece8e712009-10-08 21:55:05 +000020// CC2-NEXT: copy
Steve Naroffece8e712009-10-08 21:55:05 +000021// CC2-NEXT: getter
Steve Naroff7f511122009-10-08 23:45:10 +000022// CC2-NEXT: nonatomic
23// CC2-NEXT: readonly
24// CC2-NEXT: readwrite
25// CC2-NEXT: setter
Steve Naroffece8e712009-10-08 21:55:05 +000026@end
27
28
29