Fix unused variable by adding a test

This commit is contained in:
Dmitry Marakasov 2020-06-18 02:06:57 +03:00
parent 7993e3672b
commit 25c5f17782

View File

@ -18,6 +18,7 @@ int main(int, char*[]) {
static_assert(b1, ""); static_assert(b1, "");
static_assert(b2, ""); static_assert(b2, "");
static_assert(p2 == p3, "");
constexpr int x = p1.GetX(); constexpr int x = p1.GetX();
constexpr int y = p1.GetY(); constexpr int y = p1.GetY();