+};
+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 };
Nothing to do with reporting the var type, it's "just" another mean of initializing. So different issue, possibly different test case.
Fair enough
AFAIK -> syntax is not supported at all yet.
For some reason I thought it was, maybe another language.
(OT, WTF is about this syntax? why add a new one?)
So it is after parameter declaration and so can use decltype(parameter) where the parameter type is from a template parameter and so not known until template parameter deduction.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/889/files#r50917934