#include "llvm/ADT/PointerUnion.h"
#include "gtest/gtest.h"
usingnamespacellvm;
namespace {
PU;
PU3;
PU4;
struct PointerUnionTest : public testing::Test { … };
TEST_F(PointerUnionTest, Comparison) { … }
TEST_F(PointerUnionTest, Null) { … }
TEST_F(PointerUnionTest, Is) { … }
TEST_F(PointerUnionTest, Get) { … }
template<int I> struct alignas(8) Aligned { … };
PU8;
TEST_F(PointerUnionTest, ManyElements) { … }
TEST_F(PointerUnionTest, GetAddrOfPtr1) { … }
TEST_F(PointerUnionTest, NewCastInfra) { … }
}