1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

New test.

llvm-svn: 102746
This commit is contained in:
Devang Patel 2010-04-30 19:39:29 +00:00
parent 52c2d4d378
commit 9832115581

View File

@ -0,0 +1,17 @@
// 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;
}