summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/debug-info-self.m
blob: 9146ab3973c64a590b21fd5204ee0f1503f4e846 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang -fverbose-asm -g -S %s -o - | grep DW_AT_artificial | count 3
// self and _cmd are marked as DW_AT_artificial. 
// abbrev code emits another DT_artificial comment.
// myarg is not marked as DW_AT_artificial.

@interface MyClass {
}
- (id)init:(int) myarg;
@end

@implementation MyClass
- (id) init:(int) myarg
{
    return self;
}
@end