| Argyrios Kyrtzidis | c737763 | 2009-07-14 03:20:31 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -emit-pch %s -o %t.ast && |
| 2 | // RUN: index-test %t.ast -point-at %s:8:4 -print-decls | count 2 && | ||||
| 3 | // RUN: index-test %t.ast -point-at %s:8:4 -print-defs | count 1 | ||||
| 4 | |||||
| 5 | static void foo(int x); | ||||
| 6 | |||||
| 7 | static void bar(void) { | ||||
| 8 | foo(10); | ||||
| 9 | } | ||||
| 10 | |||||
| 11 | void foo(int x) { | ||||
| 12 | } | ||||