]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/selftest-run-tests.c
c-format.c: suggest the correct format string to use (PR c/64955)
[thirdparty/gcc.git] / gcc / selftest-run-tests.c
index 85e101d42c3e0d97fe67eafdbfe5a5115e9e6dab..9d75a8e3c31d515e1bda5820712c5700574e0993 100644 (file)
@@ -21,6 +21,8 @@ along with GCC; see the file COPYING3.  If not see
 #include "system.h"
 #include "coretypes.h"
 #include "selftest.h"
+#include "tree.h"
+#include "langhooks.h"
 
 /* This function needed to be split out from selftest.c as it references
    tests from the whole source tree, and so is within
@@ -70,6 +72,9 @@ selftest::run_tests ()
   /* This one relies on most of the above.  */
   function_tests_c_tests ();
 
+  /* Run any lang-specific selftests.  */
+  lang_hooks.run_lang_selftests ();
+
   /* Finished running tests.  */
   long finish_time = get_run_time ();
   long elapsed_time = finish_time - start_time;