From 3397016bff4dd62706f7d807a5196e79ae9c30b6 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Thu, 30 Jan 2020 02:12:24 -0600 Subject: delete test suite --- .../consistency.vlad/layout/class-float-and-virtual.cpp | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 gcc_arm/testsuite/consistency.vlad/layout/class-float-and-virtual.cpp (limited to 'gcc_arm/testsuite/consistency.vlad/layout/class-float-and-virtual.cpp') diff --git a/gcc_arm/testsuite/consistency.vlad/layout/class-float-and-virtual.cpp b/gcc_arm/testsuite/consistency.vlad/layout/class-float-and-virtual.cpp deleted file mode 100755 index fc207ac..0000000 --- a/gcc_arm/testsuite/consistency.vlad/layout/class-float-and-virtual.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include - -static class sss { -public: - float m; - virtual int f (int i) {return i;} -} sss; - -#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) - -int main (void) { - printf ("+++Class starting with float and containing virtual function:\n"); - printf ("size=%d,align=%d\n", sizeof (sss), __alignof__ (sss)); - printf ("offset-m=%d,align-m=%d\n", - _offsetof (class sss, m), __alignof__ (sss.m)); -} -- cgit v1.2.3