Home
last modified time | relevance | path

Searched refs:SecondBit (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/llvm/unittests/ADT/
DBitFieldsTest.cpp80 TEST(BitfieldsTest, SecondBit) { in TEST() argument
82 using SecondBit = Bitfield::Element<bool, 1, 1>; in TEST() typedef
84 Bitfield::set<SecondBit>(Storage, true); in TEST()
85 EXPECT_EQ(Bitfield::get<SecondBit>(Storage), true); in TEST()
88 Bitfield::set<SecondBit>(Storage, false); in TEST()
89 EXPECT_EQ(Bitfield::get<SecondBit>(Storage), false); in TEST()