Showing with 6 additions and 0 deletions.
  1. +6 −0 src/parse.d
6 changes: 6 additions & 0 deletions src/parse.d
Original file line number Diff line number Diff line change
Expand Up @@ -4181,6 +4181,12 @@ public:
auto tempdecl = new TemplateDeclaration(loc, ident, tpl, null, a2, 0);
s = tempdecl;
}
if (structalign != 0)
{
auto ax = new Dsymbols();
ax.push(s);
s = new AlignDeclaration(structalign, ax);
}
if (link != linkage)
{
auto ax = new Dsymbols();
Expand Down