Devang Patel | 28e604d | 2010-04-30 19:39:29 +0000 | [diff] [blame] | 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 |