tests: add .so/.dll creation test

Also remove bitfield test from tcctest.c because gcc
versions don't agree among each other.
This commit is contained in:
grischka
2016-12-15 17:04:07 +01:00
parent ca92bfc3c6
commit 2b7ee000cd
3 changed files with 23 additions and 9 deletions

View File

@ -1634,15 +1634,6 @@ void bitfield_test(void)
st2.f3 = a;
st2.f2++;
printf("%lld %lld %lld\n", st2.f1, st2.f2, st2.f3);
struct sbf3 {
int f1 : 7;
int f2 : 1;
char f3;
int f4 : 8;
int f5 : 1;
int f6 : 16;
} st3;
printf("sizeof(st3) = %d\n", sizeof(st3));
}
#ifdef __x86_64__