diff options
author | Bijan Tabatabai <bijan311@yahoo.com> | 2019-01-11 05:59:41 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-06-05 14:08:59 +0300 |
commit | a3de0304a190c54124df3486ce9c34b6262787a8 (patch) | |
tree | c3cbd02c40e52494a2ddf0c40471763c189882ea /mcs/tests/ver-il-net_4_x.xml | |
parent | 644bfc93d4bec824d38f83850746a2a3132a6200 (diff) |
Align mcs's tuple deconstruction behavior with csc
Before the code
(a, b) = (b, a);
was the equivalent of
a = b;
b = a;
now, it evaluates it to so something like
tmp1 = a;
tmp2 = b;
a = tmp2;
b = tmp1;
Signed-off-by: Bijan Tabatabai <bijan311@yahoo.com>
Diffstat (limited to 'mcs/tests/ver-il-net_4_x.xml')
-rw-r--r-- | mcs/tests/ver-il-net_4_x.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/ver-il-net_4_x.xml b/mcs/tests/ver-il-net_4_x.xml index fa750278297..4ad26da95f7 100644 --- a/mcs/tests/ver-il-net_4_x.xml +++ b/mcs/tests/ver-il-net_4_x.xml @@ -74502,6 +74502,16 @@ </method> </type> </test> + <test name="test-tuple-11.cs"> + <type name="Program"> + <method name="Int32 Main()" attrs="150"> + <size>70</size> + </method> + <method name="Void .ctor()" attrs="6278"> + <size>7</size> + </method> + </type> + </test> <test name="test-var-01.cs"> <type name="Test"> <method name="Int32 Main()" attrs="150"> |