// { dg-do compile { target c++11 } }
-// Copyright (C) 2009-2017 Free Software Foundation, Inc.
+// Copyright (C) 2009-2024 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
void test01()
{
+#if __cplusplus <= 201703L
__gnu_test::has_trivial_cons_dtor test;
+#else
+ __gnu_test::has_trivial_dtor test;
+#endif
test.operator()<std::atomic_flag>();
}