commit | 1f7b6f88f18d7f6b10265acec5d41c4ed1897487 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Fri Nov 09 19:52:12 2007 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Fri Nov 09 19:52:12 2007 +0000 |
tree | e9343735c67c4a259d795ba40780d761a41131f9 | |
parent | 3560002bed2be6b428f1a909c489a8857b4417c7 [diff] [blame] |
Added class context to method declarations. Provide "interface *" type to 'self' method of instance methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43957 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/method-def-1.m b/test/Sema/method-def-1.m new file mode 100644 index 0000000..1658a7b --- /dev/null +++ b/test/Sema/method-def-1.m
@@ -0,0 +1,8 @@ +@interface foo +- (int)meth; +@end + +@implementation foo +- (int) meth { return [self meth]; } +@end +