[C++] My unreviewed patch

Kriang Lerdsuwanakij lerdsuwa@users.sf.net
Thu Oct 21 12:11:00 GMT 2004


Giovanni Bajo wrote

 > Tue Oct 19 22:58:28 2004
 > ***************
 > *** 1,4 ****
 > ! // { dg-do run }
 >  // Test that template friends referring to class template members are
 >  // respected.
 >
 > --- 1,4 ----
 > ! // { dg-do compile }
 >  // Test that template friends referring to class template members are
 >  // respected.
 >
 >
 > Why? Didn't this use to be a run testcase?

Thanks, I've fixed the typos in memfriend11.C and memfriend14.C testcases.
Regarding the friend44.C test above, access checking problems are caught
during compile time.  And because it failed with bogus error message and
never compiled nor ran, we don't lose anything changing it to compilation-only test.

--Kriang





More information about the Gcc-patches mailing list