Nick Lewycky | b346d2f | 2012-04-16 02:51:46 +0000 | [diff] [blame] | 1 | #include "some_struct.h" |
2 | void foo() { | ||||
3 | struct X x; | ||||
4 | x. | ||||
5 | |||||
Nick Lewycky | c5086f0 | 2012-04-16 03:22:35 +0000 | [diff] [blame] | 6 | // RUN: env CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:4:5 -Xclang -code-completion-patterns %s | FileCheck -check-prefix=CHECK-CC1 %s |
Nick Lewycky | b346d2f | 2012-04-16 02:51:46 +0000 | [diff] [blame] | 7 | // CHECK-CC1: FieldDecl:{ResultType int}{TypedText m} (35) (parent: StructDecl 'X') |