Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Mar 25, 2021
1 parent 5f334a5 commit 7612890
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/compilable/test20100.d
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,9 @@ void main() {
}

// https://issues.dlang.org/show_bug.cgi?id=21765
ref int func21765(int);
void test21765()
{
static ref int boo(int);

assert((boo(1) = 2) == 2);
assert((1.boo = 2) == 2);
assert((func21765(1) = 2) == 2);
assert((1.func21765 = 2) == 2);
}

0 comments on commit 7612890

Please sign in to comment.