Skip to content

Commit 3c1f435

Browse files
fix null deref in test suite (#21621)
1 parent 79f01c4 commit 3c1f435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/test/compilable/parens_inc.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void f()
1717
{
1818
int b;
1919
(b)++;
20-
int[] a;
20+
int[] a = [1];
2121
b = (a)[0]++; //ok
2222
(a[0])--;
2323
b = (int).init; //ok

0 commit comments

Comments
 (0)