basic.carbon 689 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 compile --no-prelude-import --target=x86_64-unknown-linux-gnu --output=- %s
  6. //
  7. // To test this file alone, run:
  8. // bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/codegen/testdata/assembly/basic.carbon
  9. // To dump output, run:
  10. // bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/codegen/testdata/assembly/basic.carbon
  11. // NOAUTOUPDATE
  12. // SET-CHECK-SUBSET
  13. // CHECK:STDOUT: _CMain.Main:
  14. fn Main() {}