YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

15 lines
242 B
Objective-C

// 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