Showing with 5 additions and 2 deletions.
  1. +5 −2 std/traits.d
7 changes: 5 additions & 2 deletions std/traits.d
Original file line number Diff line number Diff line change
Expand Up @@ -3207,8 +3207,11 @@ unittest
static struct SS8 { S8 s; }
static struct SS9 { S9 s; }
static assert( hasElaborateAssign!SS6);
static assert( hasElaborateAssign!SS7);
static assert( hasElaborateAssign!SS8);
version (none) // Enable once DMD P.R. 5854 / issue 16142 have been fixed.
{
static assert(!hasElaborateAssign!SS7);
static assert(!hasElaborateAssign!SS8);
}
static assert( hasElaborateAssign!SS9);
}

Expand Down