diff options
author | camthesaxman <camthesaxman@users.noreply.github.com> | 2020-01-30 02:12:24 -0600 |
---|---|---|
committer | camthesaxman <camthesaxman@users.noreply.github.com> | 2020-01-30 02:12:24 -0600 |
commit | 3397016bff4dd62706f7d807a5196e79ae9c30b6 (patch) | |
tree | 98e90037403f29116f3ea6d0d8a1ba3623f4e968 /gcc_arm/testsuite/consistency.vlad/layout/c-pointer-1-c-char.cpp | |
parent | 4f87fae05b87cefd4f8fc0b2b18e639b0fad25fc (diff) |
delete test suite
Diffstat (limited to 'gcc_arm/testsuite/consistency.vlad/layout/c-pointer-1-c-char.cpp')
-rwxr-xr-x | gcc_arm/testsuite/consistency.vlad/layout/c-pointer-1-c-char.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc_arm/testsuite/consistency.vlad/layout/c-pointer-1-c-char.cpp b/gcc_arm/testsuite/consistency.vlad/layout/c-pointer-1-c-char.cpp deleted file mode 100755 index c209406..0000000 --- a/gcc_arm/testsuite/consistency.vlad/layout/c-pointer-1-c-char.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include <stdio.h> - -class c{ -public: - char * f; -}; - - -static class sss: public c{ -public: - char m; -} sss; - -#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16) - -int main (void) { - printf ("++Class with char inhereting class with pointer:\n"); - printf ("size=%d,align=%d\n", sizeof (sss), __alignof__ (sss)); - printf ("offset-pointer=%d,offset-char=%d,\nalign-pointer=%d,align-char=%d\n", - _offsetof (class sss, f), _offsetof (class sss, m), - __alignof__ (sss.f), __alignof__ (sss.m)); - return 0; -} |