diff --git a/gdb/unittests/array-view-selftests.c b/gdb/unittests/array-view-selftests.c index fe211a647b5..9df48db3912 100644 --- a/gdb/unittests/array-view-selftests.c +++ b/gdb/unittests/array-view-selftests.c @@ -120,7 +120,7 @@ check () /* Check that there's no container->view conversion for containers of derived types or subclasses. */ -template typename Container> +template class Container> static constexpr bool check_ctor_from_container () {