Files
ldc/ir/irstruct.cpp
David Nadlinger 26e4f91cdc Respect struct packing when generating struct initializers.
Fixes issue #88.

Previously, invalid code would be generated in cases like the following:
---
align(1) struct Test {
    string str;
    int id;
}

Test test = {"asdf", 4};
---
2012-03-16 23:29:10 +01:00

11 KiB