Following code makes cppcheck (the current revision
703e0a01534b14e6d8ebbefe59ea6b9ad95f29e2 from the master branch) report an
incorrect error.
```
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>;
```
That's the message I get:
```
$ 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.
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/834