fail_target_triple.carbon 733 B

1234567891011121314
  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: compile --no-prelude-import --target=x86_687-unknown-linux-gnu --output=- %s
  6. // No autoupdate because the message comes from LLVM.
  7. // To test this file alone, run:
  8. // bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/codegen/testdata/fail_target_triple.carbon
  9. // To dump output, run:
  10. // bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/codegen/testdata/fail_target_triple.carbon
  11. // NOAUTOUPDATE
  12. // CHECK:STDERR: error: invalid target: {{.*}}x86_687{{.*}}
  13. fn Main() {}