Make functions static in unittests
[binutils-gdb.git] / gdb / unittests / optional / assignment / 6.cc
index cea59946ed9de9e64c2f0fad38e70dbcfd3fc39e..3c1e246704fab5a95260bda817960549395c9b45 100644 (file)
@@ -34,7 +34,8 @@ struct value_type : private mixin_counter
   int state = 0;
 };
 
-void test()
+static void
+test ()
 {
   using O = gdb::optional<value_type>;