<p>In <a href="https://github.com/geany/geany/pull/889#discussion_r50917934">tests/ctags/var-and-return-type.cpp</a>:</p>
<pre style='color:#555'>> +};
> +
> +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 };
> +
</pre>
<blockquote>
<p>Nothing to do with reporting the var type, it's "just" another mean of initializing. So different issue, possibly different test case.</p>
</blockquote>

<p>Fair enough</p>

<blockquote>
<p>AFAIK -> syntax is not supported at all yet.</p>
</blockquote>

<p>For some reason I thought it was, maybe another language.</p>

<blockquote>
<p>(OT, WTF is about this syntax? why add a new one?)</p>
</blockquote>

<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/889/files#r50917934">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ9xRSRAHlxrCqOEScZLxuHT5HdtWks5pd_ZNgaJpZM4HMkrH.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/889/files#r50917934"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>