From 25c5f177820e2cfd9a7e5e06d8f880a3d7861bb7 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 18 Jun 2020 02:06:57 +0300 Subject: [PATCH] Fix unused variable by adding a test --- tests/test_pointrect_constexpr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pointrect_constexpr.cc b/tests/test_pointrect_constexpr.cc index 179678a..ea5004e 100644 --- a/tests/test_pointrect_constexpr.cc +++ b/tests/test_pointrect_constexpr.cc @@ -18,6 +18,7 @@ int main(int, char*[]) { static_assert(b1, ""); static_assert(b2, ""); + static_assert(p2 == p3, ""); constexpr int x = p1.GetX(); constexpr int y = p1.GetY();