Skip to content

Commit 530660b

Browse files
authored
std.allocator: Comment out broken class instance size test (#10717)
This can be reverted after the fix for dlang issue 21065 is merged Refs: dlang/dmd#21065
1 parent c64232d commit 530660b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

std/experimental/allocator/common.d

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ unittest
6363
class C2 { char c; }
6464
static assert(stateSize!C2 == 4 * size_t.sizeof);
6565
static class C3 { char c; }
66-
static assert(stateSize!C3 == 2 * size_t.sizeof + char.sizeof);
66+
// Uncomment test after dmd issue closed https://github.com/dlang/dmd/issues/21065
67+
//static assert(stateSize!C3 == 3 * size_t.sizeof);
6768
}
6869

6970
/**

0 commit comments

Comments
 (0)