* g++.dg/other/offsetof3.C: Use size_t.
* g++.dg/other/offsetof4.C: Likewise.
From-SVN: r67603
+2003-06-07 Richard Henderson <rth@redhat.com>
+
+ * g++.dg/other/offsetof3.C: Use size_t.
+ * g++.dg/other/offsetof4.C: Likewise.
+
2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
* lib/copy-file.exp: New. Implement gcc_copy_files.
};
typedef X* pX;
+typedef __SIZE_TYPE__ size_t;
-int yoff = int(&(pX(0)->y)); /* { dg-warning "invalid access" "" } */
+size_t yoff = size_t(&(pX(0)->y)); /* { dg-warning "invalid access" "" } */
/* { dg-warning "macro was used incorrectly" "" { target *-*-* } 14 } */
};
typedef X* pX;
+typedef __SIZE_TYPE__ size_t;
-int yoff = int(&(pX(0)->y));
+size_t yoff = size_t(&(pX(0)->y));