shafik added a comment. It is worth noting that: typedef int T; typedef int T; is not valid C99 see godbolt <https://godbolt.org/z/638lXv> Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64480/new/ https://reviews.llvm.org/D64480