Skip to content

Commit

Permalink
Fix flaky invalid memory operation test which depends on the GC not
Browse files Browse the repository at this point in the history
scanning the stack.
  • Loading branch information
schveiguy committed Apr 21, 2024
1 parent 218cae4 commit ffdef39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion druntime/test/exceptions/src/invalid_memory_operation.d
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ struct S

void main()
{
new S;
foreach(i; 0 .. 100)
new S;
}

0 comments on commit ffdef39

Please sign in to comment.