Devang Patel | d263e7b | 2010-02-10 01:09:50 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -x objective-c -emit-llvm -g < %s | grep "\"self\", metadata" |
2 | // Test to check that "self" argument is assigned a location. | ||||
3 | |||||
4 | @interface Foo | ||||
5 | -(void) Bar: (int)x ; | ||||
6 | @end | ||||
7 | |||||
8 | |||||
9 | @implementation Foo | ||||
10 | -(void) Bar: (int)x | ||||
11 | { | ||||
12 | } | ||||
13 | @end | ||||
14 |