gtest_main.cpp 571 B

1234567891011121314151617
  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. #include <gtest/gtest.h>
  5. #include "llvm/Support/InitLLVM.h"
  6. auto main(int argc, char** argv) -> int {
  7. testing::InitGoogleTest(&argc, argv);
  8. llvm::setBugReportMsg(
  9. "Please report issues to "
  10. "https://github.com/carbon-language/carbon-lang/issues and include the "
  11. "crash backtrace.\n");
  12. llvm::InitLLVM init_llvm(argc, argv);
  13. return RUN_ALL_TESTS();
  14. }