===========================
Union, With Renamed Variant
===========================

module corpus_test_union is

  union VehicleClass of
    Car
    Boat as WaterCar
  end

end

---

(module
  name: (identifier)
  body: (module_body
    (union_def
      name: (identifier)
      body: (union_body
        (type_variant
          name: (identifier_reference
            (identifier)))
        (type_variant
          name: (identifier_reference
            (identifier))
          rename: (identifier))))))
