| | | | --- | --- | | Bugzilla Link | [6346](https://llvm.org/bz6346) | | Resolution | FIXED | | Resolved on | Feb 25, 2010 16:30 | | Version | trunk | | OS | All | | Reporter | LLVM Bugzilla Contributor | | CC | @DougGregor | ## Extended Description g++ accepts the code fragment: int main(void) { void** i; void const** j; i == j; } clang++ rejects this, with the error: t.cc:1:46: error: comparison of distinct pointer types ('void **' and 'void const **') int main(void) { void** i; void const** j; i == j; } ~ ^ ~