diff options
Diffstat (limited to 'clang/test/SemaObjC/arc.m')
| -rw-r--r-- | clang/test/SemaObjC/arc.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/arc.m b/clang/test/SemaObjC/arc.m index 88d08181f60..83835ebd03f 100644 --- a/clang/test/SemaObjC/arc.m +++ b/clang/test/SemaObjC/arc.m @@ -649,3 +649,16 @@ void test37(Test37 *c) { (void) y; } } + +// rdar://problem/9887979 +@interface Test38 +@property int value; +@end +void test38() { + extern Test38 *test38_helper(void); + switch (test38_helper().value) { + case 0: + case 1: + ; + } +} |

