fail_target_triple.carbon 419 B

12345678910
  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. // ARGS: dump assembly --target_triple=x86_687-unknown-linux-gnu %s
  6. // No autoupdate because the message comes from LLVM.
  7. // NOAUTOUPDATE
  8. // CHECK:STDERR: ERROR: Invalid -target_triple:{{.*}}
  9. fn Main() -> i32 { return 0; }