-// Copyright (C) 2013-2018 Free Software Foundation, Inc.
+// Copyright (C) 2013-2023 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
int i;
};
-void test()
+static void
+test ()
{
gdb::optional<value_type> o { value_type { 51 } };
VERIFY( (*o).i == 51 );