diff options
Diffstat (limited to 'test/SemaObjC/arc-system-header.m')
-rw-r--r-- | test/SemaObjC/arc-system-header.m | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/SemaObjC/arc-system-header.m b/test/SemaObjC/arc-system-header.m index 68230e74b2d57..f3b72363c57b9 100644 --- a/test/SemaObjC/arc-system-header.m +++ b/test/SemaObjC/arc-system-header.m @@ -23,8 +23,7 @@ void test4(Test4 *p) { } void test5(struct Test5 *p) { - p->field = 0; // expected-error {{'field' is unavailable in ARC}} - // expected-note@arc-system-header.h:25 {{field has non-trivial ownership qualification}} + p->field = 0; } id test6() { @@ -49,8 +48,7 @@ void test7(Test7 *p) { extern void doSomething(Test9 arg); void test9() { - Test9 foo2 = {0, 0}; // expected-error {{'field' is unavailable in ARC}} - // expected-note@arc-system-header.h:56 {{field has non-trivial ownership qualification}} + Test9 foo2 = {0, 0}; doSomething(foo2); } #endif |