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


Kriang Lerdsuwanakij wrote:

> diff -cprN gcc-main-save/gcc/testsuite/g++.dg/template/memfriend11.C
> gcc-main-new/gcc/testsuite/g++.dg/template/memfriend11.C ***
> gcc-main-save/gcc/testsuite/g++.dg/template/memfriend11.C Thu Jan  1
07:00:00
> 1970 --- gcc-main-new/gcc/testsuite/g++.dg/template/memfriend11.C Tue Oct
19
> 22:58:28 2004
> ***************
> *** 0 ****
> --- 1,73 ----
> + // { dg-do compile }
> +
> + // Copyright (C) 2004 Free Software Foundation
> + // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
> +
> + // Nest class template of class template as friend

Typo, "nested".



> diff -cprN gcc-main-save/gcc/testsuite/g++.old-deja/g++.pt/friend44.C
> gcc-main-new/gcc/testsuite/g++.old-deja/g++.pt/friend44.C ***
> gcc-main-save/gcc/testsuite/g++.old-deja/g++.pt/friend44.C Sat Nov 22
> 13:45:04 2003 --- 
gcc-main-new/gcc/testsuite/g++.old-deja/g++.pt/friend44.C
> 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 for fixing this!

Giovanni Bajo


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