error_codegen_target_triple.carbon 364 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 assembly --target_triple=x86_687-unknown-linux-gnu %s | %{FileCheck-strict}
  6. // CHECK:STDERR: ERROR: {{.*}}
  7. fn Main() -> i32 { return 0; }