mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 13:10:11 +01:00
These tips are especially valuable in these cases, because you can't use `autoupdate_testdata.py` to identify the output difference, so dumping the output is pretty much the only option.
16 lines
663 B
Plaintext
16 lines
663 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
|
|
//
|
|
// ARGS: compile --no-prelude-import --target=x86_64-unknown-linux-gnu --output=- %s
|
|
//
|
|
// To test this file alone, run:
|
|
// bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/codegen/testdata/assembly/basic.carbon
|
|
// To dump output, run:
|
|
// bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/codegen/testdata/assembly/basic.carbon
|
|
// NOAUTOUPDATE
|
|
// SET-CHECK-SUBSET
|
|
// CHECK:STDOUT: _CMain.Main:
|
|
|
|
fn Main() {}
|