Avoid undefined behavior in read_subrange_type
[deliverable/binutils-gdb.git] / gdb / unittests / offset-type-selftests.c
index a11e9085af843fa8df5a3d455ce51dfb6838b994..c08201bd2d7aa776de9ab05ef120584219cd31aa 100644 (file)
@@ -1,6 +1,6 @@
 /* Self tests for offset types for GDB, the GNU debugger.
 
-   Copyright (C) 2017 Free Software Foundation, Inc.
+   Copyright (C) 2017-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -174,5 +174,5 @@ run_tests ()
 void
 _initialize_offset_type_selftests ()
 {
-  register_self_test (selftests::offset_type::run_tests);
+  selftests::register_test ("offset_type", selftests::offset_type::run_tests);
 }
This page took 0.023868 seconds and 4 git commands to generate.