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

Commit

Permalink
tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
huglovefan committed Mar 27, 2022
1 parent dfbab6a commit b0ce83c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/gc/issue22843.d
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import core.memory;
void main()
{
auto collections = GC.profileStats().numCollections;
// loop until we trigger a collection
auto collections = GC.profileStats().numCollections;
// loop until we trigger a collection
for (;;)
{
cast(void)GC.malloc(100_000, GC.BlkAttr.NO_SCAN);
if (GC.profileStats().numCollections == collections+1)
break;
break;
}
}

0 comments on commit b0ce83c

Please sign in to comment.