(TranslationUnit
    [(Program
        sync1
        ()
        []
        [(ImplicitNone
            []
            ()
        )]
        [(Declaration
            (AttrType
                TypeInteger
                []
                ()
                ()
                None
            )
            []
            [(iam
            []
            []
            ()
            ()
            None
            ())]
            ()
        )
        (Declaration
            (AttrType
                TypeReal
                []
                ()
                ()
                None
            )
            []
            [(x
            []
            [(()
            ()
            CodimensionStar)]
            ()
            ()
            None
            ())]
            ()
        )]
        [(Assignment
            0
            iam
            (FuncCallOrArray
                this_image
                []
                []
                []
                []
                []
            )
            (TriviaNode
                []
                [(EndOfLine)
                (EndOfLine)]
            )
        )
        (If
            0
            ()
            (== iam 1)
            [(Assignment
                0
                x
                (Real "1.0")
                ()
            )]
            []
            ()
            ()
            ()
        )
        (SyncMemory
            0
            []
            (TriviaNode
                []
                [(EndOfLine)
                (EndOfLine)]
            )
        )
        (SubroutineCall
            0
            external_sync
            []
            []
            []
            []
            ()
        )
        (SyncMemory
            0
            [(AttrStat
                status
            )]
            (TriviaNode
                []
                [(EndOfLine)
                (EndOfLine)]
            )
        )
        (If
            0
            ()
            (== iam 2)
            [(Write
                0
                [(())
                (())]
                []
                [(CoarrayRef
                    x
                    []
                    []
                    []
                    [(()
                    1
                    ()
                    CodimensionExpr)]
                    []
                )]
                ()
            )]
            []
            ()
            ()
            (TriviaNode
                []
                [(EndOfLine)
                (EndOfLine)]
            )
        )
        (If
            0
            ()
            (== (FuncCallOrArray
                this_image
                []
                []
                []
                []
                []
            ) 1)
            [(SyncImages
                0
                ()
                Asterisk
                []
                ()
            )]
            [(SyncImages
                0
                1
                None
                [(AttrStat
                    status
                )]
                ()
            )]
            ()
            ()
            (TriviaNode
                []
                [(EndOfLine)
                (EndOfLine)]
            )
        )]
        []
    )]
)
