mirror of
https://github.com/frida/tinycc
synced 2025-01-12 06:39:51 +03:00
Make 102_alignas independend of architecture
alignment of double is of course depending on the target, so the .expect file was arch dependend. Fix this by simply doing some comparison tests.
This commit is contained in:
parent
0344c0b6a0
commit
105107124d
@ -23,6 +23,7 @@ extern int printf(const char*, ...);
|
||||
int main()
|
||||
{
|
||||
printf("%d %d %d %d\n",
|
||||
alignof(i1), alignof(i4), alignof(i5), alignof(i8));
|
||||
alignof(i1) == 16, alignof(i4) == alignof(double),
|
||||
alignof(i5) == alignof(int) , alignof(i8) == 16);
|
||||
return 0;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
16 8 4 16
|
||||
1 1 1 1
|
||||
|
Loading…
Reference in New Issue
Block a user