diff options
Diffstat (limited to 'gdb/unittests/ptid-selftests.c')
-rw-r--r-- | gdb/unittests/ptid-selftests.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/unittests/ptid-selftests.c b/gdb/unittests/ptid-selftests.c index 5af73b0..c634a26 100644 --- a/gdb/unittests/ptid-selftests.c +++ b/gdb/unittests/ptid-selftests.c @@ -21,8 +21,10 @@ #include "gdbsupport/ptid.h" #include <type_traits> -namespace selftests { -namespace ptid { +namespace selftests +{ +namespace ptid +{ /* Check that the ptid_t class is POD. @@ -125,7 +127,8 @@ static_assert (both.matches (pid), "both matches pid"); static_assert (!ptid_t (2, 0, 0).matches (pid), "other pid doesn't match pid"); static_assert (!ptid_t (2, 2, 0).matches (pid), "other lwp doesn't match pid"); static_assert (!ptid_t (2, 0, 2).matches (pid), "other tid doesn't match pid"); -static_assert (!ptid_t (2, 2, 2).matches (pid), "other both doesn't match pid"); +static_assert (!ptid_t (2, 2, 2).matches (pid), + "other both doesn't match pid"); /* Verify matches against exact matches. */ @@ -148,6 +151,5 @@ static_assert (both.matches (both), "both matches both"); static_assert (!ptid_t (2, 2, 2).matches (both), "other both doesn't match both"); - } /* namespace ptid */ } /* namespace selftests */ |