| //------------------------------------------------------------------------------------------------------- | |
| // Copyright (C) Microsoft. All rights reserved. | |
| // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. | |
| //------------------------------------------------------------------------------------------------------- | |
| function bar(p) | |
| { | |
| if (!p) | |
| return; | |
| while (1) {} | |
| } | |
| bar(0); | |
| bar(0); | |
| bar(0); | |
| bar(0); | |
| bar(0); | |
| bar(0); | |
| function foo(p) | |
| { | |
| if ((p | 0) == 91) | |
| while (1) p = 91; | |
| return p; | |
| } | |
| foo(0); | |
| foo(0); | |
| foo(0); | |
| foo(0); | |
| foo(0); | |
| foo(0); | |
| print("Pass"); |