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]

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>();


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