compilation_unit {
  package_statement {
    package_name: "ExplorerTest"
  }
  is_api: true
  declarations {
    variable {
      binding {
        name: "x"
        type {
          expression_pattern {
            expression {
              int_type_literal {
              }
            }
          }
        }
      }
      initializer {
        int_literal {
          value: 0
        }
      }
    }
  }
  declarations {
    function {
      name: "Main"
      param_pattern {
      }
      return_term {
        kind: Expression
        type {
          int_type_literal {
          }
        }
      }
      body {
        statements {
          match {
            expression {
              int_literal {
                value: 0
              }
            }
            clauses {
              pattern {
                binding_pattern {
                  name: "x"
                  type {
                    expression_pattern {
                      expression {
                        int_type_literal {
                        }
                      }
                    }
                  }
                }
              }
              statement {
                block {
                  statements {
                    variable_definition {
                      pattern {
                        binding_pattern {
                          name: "x"
                          type {
                            expression_pattern {
                              expression {
                                int_type_literal {
                                }
                              }
                            }
                          }
                        }
                      }
                      init {
                        int_literal {
                          value: 0
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        statements {
          return_statement {
            expression {
              int_literal {
                value: 0
              }
            }
          }
        }
      }
    }
  }
}
