re PR c++/44108 (-Wunused-but-set-variable does not consider array sizing use of a const variable)
PR c++/44108 * decl.c (compute_array_index_type): Call mark_rvalue_use. * c-c++-common/Wunused-var-8.c: New test. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r159497
Showing
gcc/testsuite/c-c++-common/Wunused-var-8.c
0 → 100644
Please
register
or
sign in
to comment