//===- unittests/MC/TargetRegistry.cpp ------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // The target registry code lives in Support, but it relies on linking in all // LLVM targets. We keep this test with the MC tests, which already do that, to // keep the SupportTests target small. #include "llvm/MC/TargetRegistry.h" #include "llvm/Support/TargetSelect.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { TEST(TargetRegistry, TargetHasArchType) { … } } // end namespace