https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64791

--- Comment #4 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Oh, wait a minute, with trunk, I see an incorrect warning:

prog.cc: In function 'int main()':
prog.cc:7:15: warning: variable 'a' set but not used
[-Wunused-but-set-variable]
    const int a = 2;
              ^

Reply via email to