error_codegen_objcode_no_input_file.carbon 394 B

12345678
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // RUN: %{not} %{carbon} dump objcode --output_file=%t --target_triple=x86_64-unknown-linux-gnu | %{FileCheck-strict}
  6. // CHECK:STDERR: ERROR: No input file specified.
  7. fn Main() -> i32 { return 0; }