blob: 302d7d777a1f7bf1ac022f6f3ab88171649054bc [file] [log] [blame]
/* PR java/10145
Test that requesting an alignment of 1 does not increase the alignment
of a long long field.
{ dg-do run }
{ dg-options "" }
*/
struct A
{
char c;
long long i;
};
struct B
{
char c;
long long i __attribute ((__aligned__ (1)));
};
int main ()
{
if (sizeof (struct A) != sizeof (struct B))
abort ();
return 0;
}