fail_fuzzing_invalid_target.carbon 836 B

123456789101112131415
  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: --include-diagnostic-kind --fuzzing compile nonexistent --target=mips64-a-ios
  6. //
  7. // SET-CAPTURE-CONSOLE-OUTPUT
  8. // clang-format off
  9. // AUTOUPDATE
  10. // TIP: To test this file alone, run:
  11. // TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/driver/testdata/fail_fuzzing_invalid_target.carbon
  12. // TIP: To dump output, run:
  13. // TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/driver/testdata/fail_fuzzing_invalid_target.carbon
  14. // CHECK:STDERR: error: invalid target: No available targets are compatible with triple "mips64-a-ios" [CompileTargetInvalid]
  15. // CHECK:STDERR: