1# Copyright 2013 the V8 project authors. All rights reserved. 2# Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions 6# are met: 7# 1. Redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer. 9# 2. Redistributions in binary form must reproduce the above copyright 10# notice, this list of conditions and the following disclaimer in the 11# documentation and/or other materials provided with the distribution. 12# 13# THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY 14# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16# DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY 17# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 18# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 19# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 20# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 22# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 24Tests that CFA knows that PutByVal can clobber the world. 25 26On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29PASS foo(array, -1) is 57 30PASS foo(array, -1) is 57 31PASS foo(array, -1) is 57 32PASS foo(array, -1) is 57 33PASS foo(array, -1) is 57 34PASS foo(array, -1) is 57 35PASS foo(array, -1) is 57 36PASS foo(array, -1) is 57 37PASS foo(array, -1) is 57 38PASS foo(array, -1) is 57 39PASS foo(array, -1) is 57 40PASS foo(array, -1) is 57 41PASS foo(array, -1) is 57 42PASS foo(array, -1) is 57 43PASS foo(array, -1) is 57 44PASS foo(array, -1) is 57 45PASS foo(array, -1) is 57 46PASS foo(array, -1) is 57 47PASS foo(array, -1) is 57 48PASS foo(array, -1) is 57 49PASS foo(array, -1) is 57 50PASS foo(array, -1) is 57 51PASS foo(array, -1) is 57 52PASS foo(array, -1) is 57 53PASS foo(array, -1) is 57 54PASS foo(array, -1) is 57 55PASS foo(array, -1) is 57 56PASS foo(array, -1) is 57 57PASS foo(array, -1) is 57 58PASS foo(array, -1) is 57 59PASS foo(array, -1) is 57 60PASS foo(array, -1) is 57 61PASS foo(array, -1) is 57 62PASS foo(array, -1) is 57 63PASS foo(array, -1) is 57 64PASS foo(array, -1) is 57 65PASS foo(array, -1) is 57 66PASS foo(array, -1) is 57 67PASS foo(array, -1) is 57 68PASS foo(array, -1) is 57 69PASS foo(array, -1) is 57 70PASS foo(array, -1) is 57 71PASS foo(array, -1) is 57 72PASS foo(array, -1) is 57 73PASS foo(array, -1) is 57 74PASS foo(array, -1) is 57 75PASS foo(array, -1) is 57 76PASS foo(array, -1) is 57 77PASS foo(array, -1) is 57 78PASS foo(array, -1) is 57 79PASS foo(array, -1) is 57 80PASS foo(array, -1) is 57 81PASS foo(array, -1) is 57 82PASS foo(array, -1) is 57 83PASS foo(array, -1) is 57 84PASS foo(array, -1) is 57 85PASS foo(array, -1) is 57 86PASS foo(array, -1) is 57 87PASS foo(array, -1) is 57 88PASS foo(array, -1) is 57 89PASS foo(array, -1) is 57 90PASS foo(array, -1) is 57 91PASS foo(array, -1) is 57 92PASS foo(array, -1) is 57 93PASS foo(array, -1) is 57 94PASS foo(array, -1) is 57 95PASS foo(array, -1) is 57 96PASS foo(array, -1) is 57 97PASS foo(array, -1) is 57 98PASS foo(array, -1) is 57 99PASS foo(array, -1) is 57 100PASS foo(array, -1) is 57 101PASS foo(array, -1) is 57 102PASS foo(array, -1) is 57 103PASS foo(array, -1) is 57 104PASS foo(array, -1) is 57 105PASS foo(array, -1) is 57 106PASS foo(array, -1) is 57 107PASS foo(array, -1) is 57 108PASS foo(array, -1) is 57 109PASS foo(array, -1) is 57 110PASS foo(array, -1) is 57 111PASS foo(array, -1) is 57 112PASS foo(array, -1) is 57 113PASS foo(array, -1) is 57 114PASS foo(array, -1) is 57 115PASS foo(array, -1) is 57 116PASS foo(array, -1) is 57 117PASS foo(array, -1) is 57 118PASS foo(array, -1) is 57 119PASS foo(array, -1) is 57 120PASS foo(array, -1) is 57 121PASS foo(array, -1) is 57 122PASS foo(array, -1) is 57 123PASS foo(array, -1) is 57 124PASS foo(array, -1) is 57 125PASS foo(array, -1) is 57 126PASS foo(array, -1) is 57 127PASS foo(array, -1) is 57 128PASS foo(array, -1) is 57 129PASS foo(array, -1) is 57 130PASS foo(array, -1) is 57 131PASS foo(array, -1) is 57 132PASS foo(array, -1) is 57 133PASS foo(array, -1) is 57 134PASS foo(array, -1) is 57 135PASS foo(array, -1) is 57 136PASS foo(array, -1) is 57 137PASS foo(array, -1) is 57 138PASS foo(array, -1) is 57 139PASS foo(array, -1) is 57 140PASS foo(array, -1) is 57 141PASS foo(array, -1) is 57 142PASS foo(array, -1) is 57 143PASS foo(array, -1) is 57 144PASS foo(array, -1) is 57 145PASS foo(array, -1) is 57 146PASS foo(array, -1) is 57 147PASS foo(array, -1) is 57 148PASS foo(array, -1) is 57 149PASS foo(array, -1) is 57 150PASS foo(array, -1) is 57 151PASS foo(array, -1) is 57 152PASS foo(array, -1) is 57 153PASS foo(array, -1) is 57 154PASS foo(array, -1) is 57 155PASS foo(array, -1) is 57 156PASS foo(array, -1) is 57 157PASS foo(array, -1) is 57 158PASS foo(array, -1) is 57 159PASS foo(array, -1) is 57 160PASS foo(array, -1) is 57 161PASS foo(array, -1) is 57 162PASS foo(array, -1) is 57 163PASS foo(array, -1) is 57 164PASS foo(array, -1) is 57 165PASS foo(array, -1) is 57 166PASS foo(array, -1) is 57 167PASS foo(array, -1) is 57 168PASS foo(array, -1) is 57 169PASS foo(array, -1) is 57 170PASS foo(array, -1) is 57 171PASS foo(array, -1) is 57 172PASS foo(array, -1) is 57 173PASS foo(array, -1) is 57 174PASS foo(array, -1) is 57 175PASS foo(array, -1) is 57 176PASS foo(array, -1) is 57 177PASS foo(array, -1) is 57 178PASS foo(array, -1) is 57 179PASS foo(array, -1) is 57 180PASS foo(array, -1) is 57 181PASS foo(array, -1) is 57 182PASS foo(array, -1) is 57 183PASS foo(array, -1) is 57 184PASS foo(array, -1) is 57 185PASS foo(array, -1) is 57 186PASS foo(array, -1) is 57 187PASS foo(array, -1) is 57 188PASS foo(array, -1) is 57 189PASS foo(array, -1) is 57 190PASS foo(array, -1) is 57 191PASS foo(array, -1) is 57 192PASS foo(array, -1) is 57 193PASS foo(array, -1) is 57 194PASS foo(array, -1) is 57 195PASS foo(array, -1) is 57 196PASS foo(array, -1) is 57 197PASS foo(array, -1) is 57 198PASS foo(array, -1) is 57 199PASS foo(array, -1) is 57 200PASS foo(array, -1) is 57 201PASS foo(array, -1) is 57 202PASS foo(array, -1) is 57 203PASS foo(array, -1) is 57 204PASS foo(array, -1) is 57 205PASS foo(array, -1) is 57 206PASS foo(array, -1) is 57 207PASS foo(array, -1) is 57 208PASS foo(array, -1) is 57 209PASS foo(array, -1) is 57 210PASS foo(array, -1) is 57 211PASS foo(array, -1) is 57 212PASS foo(array, -1) is 57 213PASS foo(array, -1) is 57 214PASS foo(array, -1) is 57 215PASS foo(array, -1) is 57 216PASS foo(array, -1) is 57 217PASS foo(array, -1) is 57 218PASS foo(array, -1) is 57 219PASS foo(array, -1) is 57 220PASS foo(array, -1) is 57 221PASS foo(array, -1) is 57 222PASS foo(array, -1) is 57 223PASS foo(array, -1) is 57 224PASS foo(array, -1) is 57 225PASS foo(array, -1) is 57 226PASS foo(array, -1) is 57 227PASS foo(array, -1) is 57 228PASS foo(array, -1) is 57 229PASS successfullyParsed is true 230 231TEST COMPLETE 232 233