This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix g++.dg/template/sizeof8.C
- From: Richard Henderson <rth at twiddle dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Jul 2004 11:34:09 -0700
- Subject: fix g++.dg/template/sizeof8.C
Pretty obvious.
r~
Index: g++.dg/template/sizeof8.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/template/sizeof8.C,v
retrieving revision 1.1
diff -c -p -d -u -r1.1 sizeof8.C
--- g++.dg/template/sizeof8.C 5 Jul 2004 10:31:54 -0000 1.1
+++ g++.dg/template/sizeof8.C 29 Jul 2004 18:30:06 -0000
@@ -6,4 +6,4 @@ template <int> struct S{};
template <int N> S<sizeof(new double[N])> f() {}
-template S<4> f<2>();
+template S<sizeof(void*)> f<2>();