mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
9832115581
llvm-svn: 102746
18 lines
271 B
C++
18 lines
271 B
C++
// 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;
|
|
}
|
|
|