fail_target_triple.carbon 425 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: compile --no-prelude-import --target=x86_687-unknown-linux-gnu --output=- %s
  6. // No autoupdate because the message comes from LLVM.
  7. // NOAUTOUPDATE
  8. // CHECK:STDERR: ERROR: Invalid target: {{.*}}x86_687{{.*}}
  9. fn Main() {}