summaryrefslogtreecommitdiffstats
path: root/base/tuple_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/tuple_unittest.cc')
-rw-r--r--base/tuple_unittest.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/base/tuple_unittest.cc b/base/tuple_unittest.cc
index 65a3757..402394c 100644
--- a/base/tuple_unittest.cc
+++ b/base/tuple_unittest.cc
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "base/tuple.h"
+
+#include "base/compiler_specific.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -28,7 +30,7 @@ struct Addz {
} // namespace
TEST(TupleTest, Basic) {
- Tuple0 t0 = MakeTuple();
+ Tuple0 t0 ALLOW_UNUSED = MakeTuple();
Tuple1<int> t1(1);
Tuple2<int, const char*> t2 = MakeTuple(1, static_cast<const char*>("wee"));
Tuple3<int, int, int> t3(1, 2, 3);