https://github.com/shafik commented:
It feels a bit wonky that this is only an error on assignment. The gcc docs are not particularly informative here: https://gcc.gnu.org/onlinedocs/gcc/Complex.html I think I would have liked to see a diagnostic saying "hey you are using __imag__ with a non complex type" https://github.com/llvm/llvm-project/pull/218270 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
