main_testing3/re_test.sh
changeset 376 6cc36d0ef79e
parent 352 97bcf8efe4e0
child 403 ffce7b61b446
equal deleted inserted replaced
375:ddda2e76a40f 376:6cc36d0ef79e
    23 }
    23 }
    24 
    24 
    25 # purity test
    25 # purity test
    26 
    26 
    27 function scala_vars {
    27 function scala_vars {
    28    (egrep '\bvar\b|\breturn\b|\.par\.|\.par |ListBuffer|mutable|util.control|new Array' c$out 2> /dev/null 1> /dev/null)
    28    (egrep '\bvar\b|\breturn\b|\.par\.|\.par |ListBuffer|AtomicInteger|mutable|util.control|new Array' c$out 2> /dev/null 1> /dev/null)
    29 }
    29 }
    30 
    30 
    31 
    31 
    32 
    32 
    33 # compilation test
    33 # compilation test