* g++.dg/template/sizeof8.C: Don't assume 32bit pointers.
authorRichard Henderson <rth@redhat.com>
Thu, 29 Jul 2004 18:32:08 +0000 (11:32 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 29 Jul 2004 18:32:08 +0000 (11:32 -0700)
From-SVN: r85312

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/sizeof8.C

index 5dc06fc7beb8100848e3028f24190591f7cd11cb..b82965cecde04ac0e954916511d0886c6847f3c6 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-29  Richard Henderson  <rth@redhat.com>
+
+       * g++.dg/template/sizeof8.C: Don't assume 32bit pointers.
+
 2004-07-29  Mark Mitchell  <mark@codesourcery.com>
 
        * g++.dg/abi/inline1.C: New test.
index f3069f0425503d7accd1094320fdb146624f4f41..861febc161c5c683a1a5f2bb7e28c4ef6b6c5d9d 100644 (file)
@@ -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>();