repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
2010-02-15-Dbg-MethodStart.m
blob
31d4e6980ca77a96f41d10f0b409a8d5a9924964
1
// RUN: %clang_cc1 -x objective-c -emit-llvm -debug-info-kind=limited < %s | FileCheck "%s"
2
// Test to check that subprogram start location.
3
4
@interface Foo
5
-(int) barMethod;
6
@end
7
8
@implementation Foo
9
-(int) barMethod {
10
// CHECK: !DISubprogram({{.*}}line: [[@LINE-1]]
11
int i = 0;
12
int j = 1;
13
int k = 1;
14
return i + j + k;
15
}
16
@end