OSDN Git Service

* g++.dg/template/sizeof8.C: Don't assume 32bit pointers.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jul 2004 18:32:08 +0000 (18:32 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jul 2004 18:32:08 +0000 (18:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85312 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5dc06fc..b82965c 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 f3069f0..861febc 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>();