<p>Following code makes cppcheck (the current revision 703e0a01534b14e6d8ebbefe59ea6b9ad95f29e2 from the master branch) report an incorrect error.</p>
<pre><code>template <typename T>
using foo = enable_if_t<is_same<T, int>() && sizeof(int) == 4, int>;

template <typename T, typename U = foo<T>>
struct bar {};

template <typename T>
using baz = bar<T>;
</code></pre>
<p>That's the message I get:</p>
<pre><code>$ cppcheck --language=c++ --std=c++14 testcase.h 
Checking testcase.h ...
[testcase.h:8]: (error) Syntax Error: AST broken, binary operator '>' doesn't have two operands.
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/issues/834">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ1k-UtDyEnbBd3zSDNSFrGRtRDCZks5vWZr9gaJpZM4byQGT">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ66Nq22s7HSMK09fPLKG9r8_lW4dks5vWZr9gaJpZM4byQGT.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Syntax Error: AST broken, binary operator '\u003e' doesn't have two operands (#834)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany-plugins/issues/834"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/issues/834",
"url": "https://github.com/geany/geany-plugins/issues/834",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>