Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
28e604d97cdd6a5fd772b9e569c27f6a474370a0
/
.
/
test
/
FrontendC++
/
2010-04-30-OptimizedMethod-Dbg.cpp
blob: dc9b16c28227226271fa385ce0df1d4db65a56c2 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -g -S -O2 %s -o %t
// RUN: grep "i1 false, i1 true. . . DW_TAG_subprogram" %t | count 2
class
foo
{
public
:
int
bar
(
int
x
);
static
int
baz
(
int
x
);
};
int
foo
::
bar
(
int
x
)
{
return
x
*
4
+
1
;
}
int
foo
::
baz
(
int
x
)
{
return
x
*
4
+
1
;
}