aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/optional-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/optional-selftests.c')
-rw-r--r--gdb/unittests/optional-selftests.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/unittests/optional-selftests.c b/gdb/unittests/optional-selftests.c
index 8a727c0..b191e78 100644
--- a/gdb/unittests/optional-selftests.c
+++ b/gdb/unittests/optional-selftests.c
@@ -34,8 +34,10 @@
gdb::optional. */
#define GDB_OPTIONAL
-namespace selftests {
-namespace optional {
+namespace selftests
+{
+namespace optional
+{
/* The actual tests live in separate files, which were originally
copied over from libstdc++'s testsuite. To preserve the structure
@@ -88,6 +90,7 @@ run_tests ()
} /* namespace selftests */
void _initialize_optional_selftests ();
+
void
_initialize_optional_selftests ()
{