Skip to content

Commit

Permalink
add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
artoy committed Jul 31, 2023
1 parent 560c52e commit 800d909
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/tuple/tuple-alias-easy.imp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
let p = mkref (0, mkref 0) in {
let (_, p2) = *p in {
p2 := *p2 + 1;
alias(p2 = (*p).1)
};
}
}

0 comments on commit 800d909

Please sign in to comment.