Add monospace relational tests (refs #25)

This commit is contained in:
Peter Dimov committed 2021-03-08 03:01:21 +02:00
1 parent 6d19e6be68
commit 8ec0bf448a
4 files changed
+32

No files matched your search

+7
View File
@@ -93,6 +93,13 @@ int main()
STATIC_ASSERT( !(v1 == v2) );
STATIC_ASSERT( !(v1 != v2) );
}
{
constexpr variant<monostate> v1, v2;
STATIC_ASSERT( v1 == v2 );
STATIC_ASSERT( !(v1 != v2) );
}
}
#endif