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]

[PATCH, committed] Fix incorrect implicit-typename1.C testcase


Hi

I put the wrong testcase implicit-typename1.C to the main trunk.
In main trunk, implicit typename suppport is removed so we never issue
any warning there.  Committed to trunk as obvious.

--Kriang


2003-03-01  Kriang Lerdsuwanakij  <lerdsuwa at users dot sourceforge dot net>

	* g++.dg/warn/implicit-typename1.C: Remove warning.

diff -cpr gcc-main-save/gcc/testsuite/g++.dg/warn/implicit-typename1.C gcc-main-new/gcc/testsuite/g++.dg/warn/implicit-typename1.C
*** gcc-main-save/gcc/testsuite/g++.dg/warn/implicit-typename1.C	Sun Feb 23 21:11:13 2003
--- gcc-main-new/gcc/testsuite/g++.dg/warn/implicit-typename1.C	Sat Mar  1 13:54:17 2003
*************** template <typename T> struct C {
*** 13,17 ****
  };
  
  template <typename T> struct A : public C<T> {
!   typedef X<int> X; // { dg-warning "lookup|dependent base|typename" }
  };
--- 13,17 ----
  };
  
  template <typename T> struct A : public C<T> {
!   typedef X<int> X;
  };


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