PR c++/89682 - wrong access error in default argument.
Here we were pushing into the right access context, but we were called from a deferred checking context, so didn't end up doing the checks until after we left the access context. * pt.c (tsubst_default_argument): Don't defer access checks. From-SVN: r269766
Showing
gcc/testsuite/g++.dg/overload/defarg12.C
0 → 100644
Please
register
or
sign in
to comment