This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] Fix incorrect implicit-typename1.C testcase
- From: Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 1 Mar 2003 14:19:27 +0700 (ICT)
- Subject: [PATCH, committed] Fix incorrect implicit-typename1.C testcase
- Reply-to: <lerdsuwa at users dot sourceforge dot net>
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;
};