basic.carbon 706 B

12345678910111213141516
  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. // INCLUDE-FILE: toolchain/testing/testdata/min_prelude/none.carbon
  6. // EXTRA-ARGS: --target=x86_64-unknown-linux-gnu --output=-
  7. //
  8. // To test this file alone, run:
  9. // bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/codegen/testdata/assembly/basic.carbon
  10. // To dump output, run:
  11. // bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/codegen/testdata/assembly/basic.carbon
  12. // NOAUTOUPDATE
  13. // SET-CHECK-SUBSET
  14. // CHECK:STDOUT: _CMain.Main:
  15. fn Main() {}