Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit ef0a3ea

Browse files
committed
object.d: no 0 size structs for AAs
1 parent 4d6650c commit ef0a3ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/object.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2264,6 +2264,7 @@ unittest
22642264
{
22652265
static struct T
22662266
{
2267+
byte b;
22672268
static size_t count;
22682269
this(this) { ++count; }
22692270
}

0 commit comments

Comments
 (0)