error_codegen_objcode_target_triple.carbon 409 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 --target_triple=x86_684-unknown-linux-gnu --output_file=output.o %s | %{FileCheck-strict}
  6. // CHECK:STDERR: ERROR: Invalid -target_triple:{{.*}}
  7. fn Main() -> i32 { return 0; }