re PR c++/986 (g++ misses warning for reference on temporary that invokes undefined behaviour)
PR c++/986 * call.c (set_up_extended_ref_temp): Warn about references bound to non-static reference members. * init.c (perform_member_init): Pass in the member. From-SVN: r181334
Showing
gcc/testsuite/g++.dg/warn/ref-temp1.C
0 → 100644
Please
register
or
sign in
to comment