This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++] My unreviewed patch


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]