diff options
Diffstat (limited to 'gdb/unittests/scoped_restore-selftests.c')
-rw-r--r-- | gdb/unittests/scoped_restore-selftests.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gdb/unittests/scoped_restore-selftests.c b/gdb/unittests/scoped_restore-selftests.c index a21fba5..0bfdca5 100644 --- a/gdb/unittests/scoped_restore-selftests.c +++ b/gdb/unittests/scoped_restore-selftests.c @@ -21,11 +21,18 @@ #include "gdbsupport/selftest.h" #include "gdbsupport/scoped_restore.h" -namespace selftests { -namespace scoped_restore_tests { +namespace selftests +{ +namespace scoped_restore_tests +{ + +struct Base +{ +}; -struct Base {}; -struct Derived : Base {}; +struct Derived : Base +{ +}; static int global; @@ -104,6 +111,7 @@ run_tests () } /* namespace selftests */ void _initialize_scoped_restore_selftests (); + void _initialize_scoped_restore_selftests () { |