summaryrefslogtreecommitdiff
path: root/gcc_arm/testsuite/consistency.vlad/layout/c-longdouble-2-c-char.cpp
diff options
context:
space:
mode:
authorcamthesaxman <camthesaxman@users.noreply.github.com>2020-01-30 02:12:24 -0600
committercamthesaxman <camthesaxman@users.noreply.github.com>2020-01-30 02:12:24 -0600
commit3397016bff4dd62706f7d807a5196e79ae9c30b6 (patch)
tree98e90037403f29116f3ea6d0d8a1ba3623f4e968 /gcc_arm/testsuite/consistency.vlad/layout/c-longdouble-2-c-char.cpp
parent4f87fae05b87cefd4f8fc0b2b18e639b0fad25fc (diff)
delete test suite
Diffstat (limited to 'gcc_arm/testsuite/consistency.vlad/layout/c-longdouble-2-c-char.cpp')
-rwxr-xr-xgcc_arm/testsuite/consistency.vlad/layout/c-longdouble-2-c-char.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc_arm/testsuite/consistency.vlad/layout/c-longdouble-2-c-char.cpp b/gcc_arm/testsuite/consistency.vlad/layout/c-longdouble-2-c-char.cpp
deleted file mode 100755
index 9c99162..0000000
--- a/gcc_arm/testsuite/consistency.vlad/layout/c-longdouble-2-c-char.cpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#include <stdio.h>
-
-class c{
-public:
- long double f;
-};
-
-class c2{
-public:
- char f2;
-};
-
-
-static class sss: public c, public c2{
-public:
- long double m;
-} sss;
-
-#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
-
-int main (void) {
- printf ("++Class with longdouble inhereting classes with longdouble & char:\n");
- printf ("size=%d,align=%d\n", sizeof (sss), __alignof__ (sss));
- printf ("offset-f=%d,offset-f2=%d,offset-m=%d,\nalign-f=%d,align-f2=%d,align-m=%d\n",
- _offsetof (class sss, f), _offsetof (class sss, f2), _offsetof (class sss, m),
- __alignof__ (sss.f), __alignof__ (sss.f2), __alignof__ (sss.m));
- return 0;
-}