/*
 * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */


package org.graalvm.compiler.jtt.jdk;

import org.junit.Test;

import org.graalvm.compiler.jtt.JTTTest;

/*
 */
public class System_currentTimeMillis01 extends JTTTest {

    public static int test() {
        long start = System.currentTimeMillis();
        for (int i = 0; i < 10000000; i++) {
            if (System.currentTimeMillis() - start > 0) {
                return 1;
            }
        }
        return 0;
    }

    @Test
    public void run0() throws Throwable {
        runTest("test");
    }

}
