YouCompleteMe/cpp/ycm/tests/testdata/goto.cpp
Strahinja Val Markovic 1f094e50d0 GoToDefinition/Declaration commands for C-family
These are accessible through the :YcmCompleter command. The docs have more
information.
2013-03-31 20:38:29 -07:00

19 lines
161 B
C++

struct Foo {
int bar;
int zoo;
};
struct Bar {
int foo;
int zoo;
};
struct Foo;
struct Zoo;
void func() {
Foo foo;
foo.bar = 5;
Zoo *zoo = 0;
}