[ADT] Use a nonce type with at least 4 byte alignment.
[oota-llvm.git] / unittests / ADT / SparseSetTest.cpp
index a6ea7572ce4483cec9fac285f3fc417afb30376f..eb0e0db283b774583f28088175b6b52b6b20b4ed 100644 (file)
@@ -161,7 +161,7 @@ TEST(SparseSetTest, MultipleEntrySet) {
 struct Alt {
   unsigned Value;
   explicit Alt(unsigned x) : Value(x) {}
-  unsigned getSparseSetKey() const { return Value - 1000; }
+  unsigned getSparseSetIndex() const { return Value - 1000; }
 };
 
 TEST(SparseSetTest, AltStructSet) {