commit | 7f53253223b29d77f1e9c5c0ce93a19932761b77 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Wed Feb 09 22:20:01 2011 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Wed Feb 09 22:20:01 2011 +0000 |
tree | 241f0561678ba7020b09d3088260ca62e378b2e5 | |
parent | bf36e25224b959595af84337339103ebc542ff8c [diff] [blame] |
Fix scoping of method declarations and issue warning when same parameter name used multiple times. // rdar://8877730 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125229 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Parser/objc-forcollection-neg-2.m b/test/Parser/objc-forcollection-neg-2.m index e02c51c..6aa74c9 100644 --- a/test/Parser/objc-forcollection-neg-2.m +++ b/test/Parser/objc-forcollection-neg-2.m
@@ -1,11 +1,11 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s typedef struct objc_class *Class; +struct __objcFastEnumerationState; typedef struct objc_object { Class isa; } *id; - @protocol P @end @interface MyList