// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// AUTOUPDATE

package ExplorerTest api;

fn F(n: i32) {
  match (n) {
    case 1 => { return; }
  }
  // No diagnostic: this is reachable but that's OK.
}

fn Main() -> i32 {
  F(0);
  return 0;
}

// CHECK:STDOUT: result: 0
