Steve Naroff | ece8e71 | 2009-10-08 21:55:05 +0000 | [diff] [blame] | 1 | // 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 Dunbar | 4fcfde4 | 2009-11-08 01:45:36 +0000 | [diff] [blame] | 9 | // RUN: clang-cc -fsyntax-only -code-completion-at=%s:7:11 %s -o - | FileCheck -check-prefix=CC1 %s |
Steve Naroff | 7f51112 | 2009-10-08 23:45:10 +0000 | [diff] [blame] | 10 | // CC1: assign |
| 11 | // CC1-NEXT: copy |
| 12 | // CC1-NEXT: getter |
| 13 | // CC1-NEXT: nonatomic |
| 14 | // CC1-NEXT: readonly |
Steve Naroff | ece8e71 | 2009-10-08 21:55:05 +0000 | [diff] [blame] | 15 | // CC1-NEXT: readwrite |
| 16 | // CC1-NEXT: retain |
Steve Naroff | ece8e71 | 2009-10-08 21:55:05 +0000 | [diff] [blame] | 17 | // CC1-NEXT: setter |
Steve Naroff | ece8e71 | 2009-10-08 21:55:05 +0000 | [diff] [blame] | 18 | // RUN: clang-cc -fsyntax-only -code-completion-at=%s:8:18 %s -o - | FileCheck -check-prefix=CC2 %s |
Steve Naroff | 7f51112 | 2009-10-08 23:45:10 +0000 | [diff] [blame] | 19 | // CC2: assign |
Steve Naroff | ece8e71 | 2009-10-08 21:55:05 +0000 | [diff] [blame] | 20 | // CC2-NEXT: copy |
Steve Naroff | ece8e71 | 2009-10-08 21:55:05 +0000 | [diff] [blame] | 21 | // CC2-NEXT: getter |
Steve Naroff | 7f51112 | 2009-10-08 23:45:10 +0000 | [diff] [blame] | 22 | // CC2-NEXT: nonatomic |
| 23 | // CC2-NEXT: readonly |
| 24 | // CC2-NEXT: readwrite |
| 25 | // CC2-NEXT: setter |
Steve Naroff | ece8e71 | 2009-10-08 21:55:05 +0000 | [diff] [blame] | 26 | @end |
| 27 | |
| 28 | |
| 29 | |