diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-01 07:40:02 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-01 07:40:02 +0000 |
commit | 2bd21a29979e347a838ea8c645376f660a0f4e65 (patch) | |
tree | 139086f8092179d1478c674d6dd17965d6d53178 /libjava/java | |
parent | 7a20f1a02a00029812901f16a9fc65f3b3d4c68c (diff) | |
download | ppe42-gcc-2bd21a29979e347a838ea8c645376f660a0f4e65.tar.gz ppe42-gcc-2bd21a29979e347a838ea8c645376f660a0f4e65.zip |
2004-06-01 Nicola Pero <nicola@brainstorm.co.uk>
Fix PR objc/7993:
* objc-act.c (is_private): Do not emit the 'instance variable %s
is declared private' error.
(is_public): Emit the error after calling is_private.
(lookup_objc_ivar): If the instance variable is private, return 0
- the instance variable is invisible here.
testsuite:
* objc.dg/private-1.m, objc-dg/private-2.m: New testcases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82532 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions