Files
carbon-lang/common/gtest_main.cpp
T
2022-04-26 16:19:51 -07:00

18 lines
571 B
C++

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