nashorn/test/script/basic/NASHORN-737.js.EXPECTED
author hannesw
Mon, 15 Sep 2014 17:51:11 +0200
changeset 26648 9a64e15eff37
parent 24751 ccbd9cd3f720
permissions -rw-r--r--
8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO* Reviewed-by: jlaskey, sundar

{
    "type": "Program",
    "body": [
        {
            "type": "LabeledStatement",
            "label": "label",
            "body": {
                "type": "BlockStatement",
                "body": [
                    {
                        "type": "WhileStatement",
                        "test": {
                            "type": "Literal",
                            "value": true
                        },
                        "body": {
                            "type": "BlockStatement",
                            "body": [
                                {
                                    "type": "BreakStatement",
                                    "label": "label"
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ]
}