[Bug c/103996] Enhancement: Better diagnostic for invalid reuse of a function name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103996 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-12 Status|UNCONFIRM
[Bug c/103996] Enhancement: Better diagnostic for invalid reuse of a function name
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103996 --- Comment #1 from Andrew Pinski --- C++ front-end produces: : In function 'void f()': :4:10: error: invalid types '[int]' for array subscript 4 | index[0] = 0; | ^ Which seems better.