diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-08 20:32:32 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-08 20:32:32 +0000 |
commit | 2999f661ee3916db6c4a123c73bbe76a66cf3464 (patch) | |
tree | 770f2af01b5691c14b3f8405af6033c060f3ab29 /gcc/testsuite/objc.dg | |
parent | 14a3bc6382267ea7248e3534ce5727abb4f98228 (diff) | |
download | gcc-2999f661ee3916db6c4a123c73bbe76a66cf3464.tar.gz |
gcc/objc:
* objc-act.c (objc_finish_foreach_loop): Mark collection expression
as read.
gcc/testsuite:
* objc.dg/foreach-1.m: Add "-Wall" to flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/objc.dg')
-rw-r--r-- | gcc/testsuite/objc.dg/foreach-1.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/objc.dg/foreach-1.m b/gcc/testsuite/objc.dg/foreach-1.m index dd1d8cf985d..60993d57775 100644 --- a/gcc/testsuite/objc.dg/foreach-1.m +++ b/gcc/testsuite/objc.dg/foreach-1.m @@ -4,6 +4,7 @@ /* { dg-do run } */ /* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */ /* { dg-additional-sources "../objc-obj-c++-shared/Object1.m" } */ +/* { dg-options "-Wall" } */ #import "../objc-obj-c++-shared/Object1.h" |