llvm/llvm/unittests/ADT/PointerIntPairTest.cpp

//===- llvm/unittest/ADT/PointerIntPairTest.cpp - Unit tests --------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "llvm/ADT/PointerIntPair.h"
#include "gtest/gtest.h"
#include <limits>
usingnamespacellvm;

namespace {

TEST(PointerIntPairTest, GetSet) {}

TEST(PointerIntPairTest, DefaultInitialize) {}

// In real code this would be a word-sized integer limited to 31 bits.
struct Fixnum31 {};
struct FixnumPointerTraits {};
TEST(PointerIntPairTest, ManyUnusedBits) {}

TEST(PointerIntPairTest, TypePunning) {}

} // end anonymous namespace