testsuite: fix dg-require-* order vs dg-additional-sources
[official-gcc.git] / libphobos / testsuite / libphobos.typeinfo / struct-align.d
blob54eaaa6ff5aed94132bdf83617ece4257e19e1c4
1 module structalign;
3 void main ()
5 struct K { int *a; }
6 K k;
7 auto ti = typeid (k);
9 assert (ti.flags () == 1);
11 auto ti2 = typeid (k.a);
12 assert (ti.talign () == ti2.talign ());