summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
blob: e09adac161ecb98fad8a191949625b9862761138 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -x objective-c -emit-llvm -g < %s | grep  "\"self\", metadata" 
// Test to check that "self" argument is assigned a location.

@interface Foo 
-(void) Bar: (int)x ;
@end


@implementation Foo
-(void) Bar: (int)x 
{
}
@end