Skip to content

Commit

Permalink
fix fail35.d
Browse files Browse the repository at this point in the history
Cannot reproduce the failure on DMD0.110, nor could anyone else at the time.
  • Loading branch information
Don Clugston committed Sep 21, 2011
1 parent 5b5f6f7 commit a70ce7f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/fail_compilation/fail35.d
@@ -1,6 +1,10 @@
// http://www.digitalmars.com/d/archives/digitalmars/D/bugs/2372.html
// allegedly crashes, but cannot reproduce

import core.stdc.stdio : printf;

void main()
{
for (int t=0; t<33; t++)
printf("sizeof bittest_T(0) %i\n", (bit[t]).sizeof );
printf("sizeof bittest_T(0) %i\n", (bool[t]).sizeof );
}

0 comments on commit a70ce7f

Please sign in to comment.