summaryrefslogtreecommitdiffstats
path: root/test/utilities/optional/optional.comp_with_t/equal.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/utilities/optional/optional.comp_with_t/equal.pass.cpp')
-rw-r--r--test/utilities/optional/optional.comp_with_t/equal.pass.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/utilities/optional/optional.comp_with_t/equal.pass.cpp b/test/utilities/optional/optional.comp_with_t/equal.pass.cpp
index 2380739cf..e796723cc 100644
--- a/test/utilities/optional/optional.comp_with_t/equal.pass.cpp
+++ b/test/utilities/optional/optional.comp_with_t/equal.pass.cpp
@@ -38,21 +38,21 @@ int main()
typedef optional<T> O;
constexpr T val(2);
- constexpr O o1; // disengaged
- constexpr O o2{1}; // engaged
+ constexpr O o1; // disengaged
+ constexpr O o2{1}; // engaged
constexpr O o3{val}; // engaged
static_assert ( !(o1 == T(1)), "" );
- static_assert ( o2 == T(1), "" );
+ static_assert ( (o2 == T(1)), "" );
static_assert ( !(o3 == T(1)), "" );
- static_assert ( o3 == T(2) , "" );
- static_assert ( o3 == val, "" );
+ static_assert ( (o3 == T(2)), "" );
+ static_assert ( (o3 == val), "" );
static_assert ( !(T(1) == o1), "" );
- static_assert ( T(1) == o2, "" );
+ static_assert ( (T(1) == o2), "" );
static_assert ( !(T(1) == o3), "" );
- static_assert ( T(2) == o3 , "" );
- static_assert ( val == o3 , "" );
+ static_assert ( (T(2) == o3), "" );
+ static_assert ( (val == o3), "" );
}
#endif
}