blob: dc9b16c28227226271fa385ce0df1d4db65a56c2 [file] [log] [blame]
Devang Patel28e604d2010-04-30 19:39:29 +00001// RUN: %llvmgcc -g -S -O2 %s -o %t
2// RUN: grep "i1 false, i1 true. . . DW_TAG_subprogram" %t | count 2
3
4class foo {
5public:
6 int bar(int x);
7 static int baz(int x);
8};
9
10int foo::bar(int x) {
11 return x*4 + 1;
12}
13
14int foo::baz(int x) {
15 return x*4 + 1;
16}
17