diff options
Diffstat (limited to 'test/SemaObjC/objc2-merge-gc-attribue-decl.m')
-rw-r--r-- | test/SemaObjC/objc2-merge-gc-attribue-decl.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/SemaObjC/objc2-merge-gc-attribue-decl.m b/test/SemaObjC/objc2-merge-gc-attribue-decl.m index 9dae1efdcd2a..0da0ce876d3e 100644 --- a/test/SemaObjC/objc2-merge-gc-attribue-decl.m +++ b/test/SemaObjC/objc2-merge-gc-attribue-decl.m @@ -25,6 +25,5 @@ extern __strong id p5; extern char* __strong p6; // expected-note {{previous definition is here}} extern char* p6; // expected-error {{redefinition of 'p6' with a different type}} -// FIXME. We do not issue error here because we don't put the attribute on the pointer type. -extern __strong char* p7; -extern char* p7; +extern __strong char* p7; // expected-note {{previous definition is here}} +extern char* p7; // expected-error {{redefinition of 'p7' with a different type}} |