commit | 10324db994455a9a1520be6cfe5bb29685cde141 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 18 23:15:37 2009 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 18 23:15:37 2009 +0000 |
tree | c095080d32886299fc3ff673dbca9ded917812be | |
parent | 275c2b47a1dc200d6b55dd867bdfeb7a91b8d876 [diff] [blame] |
Do not enter forward class 'Protocol' in decl context. Will do it later. Fixes pr5552. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89269 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaObjC/class-protocol.m b/test/SemaObjC/class-protocol.m new file mode 100644 index 0000000..12b6381 --- /dev/null +++ b/test/SemaObjC/class-protocol.m
@@ -0,0 +1,6 @@ +// RUN: clang-cc -fsyntax-only -verify %s +// pr5552 + +@interface Protocol +@end +