In tests/ctags/var-and-return-type.cpp:
> +}; > + > +const struct type1 func2(); > +const struct type1 var2 = { 0, 0 }; > + > +typedef type1 type1_t; > + > +const type1_t func3(); > +const type1_t var3 = { 0, 0 }; > + > +struct type1 func4(); > +struct type1 var4 = { 0, 0 }; > + > +type1_t func5(); > +type1_t var5 = { 0, 0 }; > +
what about testing type1_t var{};
or type1_t var{ 0, 0 };
what about testing auto func()->type1_t
C++11 syntax
—
Reply to this email directly or view it on GitHub.