projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove NumberHack entirely.
[oota-llvm.git]
/
test
/
FrontendC++
/
2010-04-30-OptimizedMethod-Dbg.cpp
1
// RUN: %llvmgcc -g -S -O2 %s -o %t
2
// RUN: grep "i1 false, i1 true. . . DW_TAG_subprogram" %t | count 2
3
4
class foo {
5
public:
6
int bar(int x);
7
static int baz(int x);
8
};
9
10
int foo::bar(int x) {
11
return x*4 + 1;
12
}
13
14
int foo::baz(int x) {
15
return x*4 + 1;
16
}
17