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 we use Phantom on the base of put_by_base correctly.
25
26On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
27
28
29PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
30PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
31PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
32PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
33PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
34PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
35PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
36PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
37PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
38PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
39PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
40PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
41PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
42PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
43PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
44PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
45PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
46PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
47PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
48PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
49PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
50PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
51PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
52PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
53PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
54PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
55PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
56PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
57PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
58PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
59PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
60PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
61PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
62PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
63PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
64PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
65PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
66PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
67PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
68PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
69PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
70PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
71PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
72PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
73PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
74PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
75PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
76PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
77PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
78PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
79PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
80PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
81PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
82PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
83PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
84PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
85PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
86PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
87PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
88PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
89PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
90PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
91PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
92PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
93PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
94PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
95PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
96PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
97PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
98PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
99PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
100PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
101PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
102PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
103PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
104PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
105PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
106PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
107PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
108PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
109PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
110PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
111PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
112PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
113PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
114PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
115PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
116PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
117PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
118PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
119PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
120PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
121PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
122PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
123PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
124PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
125PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
126PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
127PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
128PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
129PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
130PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
131PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
132PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
133PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
134PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
135PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
136PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
137PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
138PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
139PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
140PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
141PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
142PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
143PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
144PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
145PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
146PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
147PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
148PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
149PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
150PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
151PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
152PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
153PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
154PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
155PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
156PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
157PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
158PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
159PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
160PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
161PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
162PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
163PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
164PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
165PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
166PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
167PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
168PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
169PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
170PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
171PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
172PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
173PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
174PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
175PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
176PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
177PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
178PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
179PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
180PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
181PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
182PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
183PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
184PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
185PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
186PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
187PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
188PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
189PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
190PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
191PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
192PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
193PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
194PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
195PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
196PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
197PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
198PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
199PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
200PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
201PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
202PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
203PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
204PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
205PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
206PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
207PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
208PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
209PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
210PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
211PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
212PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
213PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
214PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
215PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
216PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
217PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
218PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
219PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
220PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
221PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
222PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
223PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
224PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
225PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
226PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
227PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
228PASS foo(i < 190 ? {f:42, g:{h:3}} : {f:42, g:{}}) is false
229PASS successfullyParsed is true
230
231TEST COMPLETE
232
233