defarg12.C
186 Bytes
-
PR c++/89682 - wrong access error in default argument. · b6e45a40
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
Jason Merrill committed