Branch: Tag:

1999-05-09

1999-05-09 22:06:08 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

test for [a]=({1,2}) and [a,b]=({1}) added

Rev: src/testsuite.in:1.169

1: - stest_true([["$Id: testsuite.in,v 1.168 1999/05/03 18:16:54 hubbe Exp $"]]) + stest_true([["$Id: testsuite.in,v 1.169 1999/05/09 22:06:08 mirar Exp $"]])   cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
52:   test_any([[ int a,b; [a,b]=({1,2}); return b]],2)   test_any([[ int a,b; [ [a],b]=({ ({ 1 }) ,2}); return a]],1)   test_any([[ int a,b; [ [a],b]=({ ({ 1 }) ,2}); return b]],2) + test_any([[ int a; catch { [a]=({1,2}); }; return 1]],1) + test_any([[ int a,b; catch { [a,b]=({1}); }; return 1]],1)   test_compile_error([[ default ; ]])   test_compile_error([[ 0999; ]])   test_compile_error([[ int a,b; [a,b]++; ]])