mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 22:02:45 +01:00
Specifying output.o causes issues if it's not writable, which it may not be in some test environments.
9 lines
403 B
Plaintext
9 lines
403 B
Plaintext
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
// RUN: %{not} %{carbon} dump objcode --target_triple=x86_684-unknown-linux-gnu --output_file=%t %s | %{FileCheck-strict}
|
|
// CHECK:STDERR: ERROR: Invalid -target_triple:{{.*}}
|
|
|
|
fn Main() -> i32 { return 0; }
|