-/* Copyright (C) 2000-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2000-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2000.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
+#include <array_length.h>
#include <stdlib.h>
#include <stdio.h>
#include <locale.h>
break;
}
- for (i = 0; i < sizeof (int_tests) / sizeof (int_tests[0]); ++i)
+ for (i = 0; i < array_length (int_tests); ++i)
{
long dummy;
int ret;
}
}
- for (i = 0; i < sizeof (double_tests) / sizeof (double_tests[0]); ++i)
+ for (i = 0; i < array_length (double_tests); ++i)
{
double dummy;
int ret;
}
}
- for (i = 0; i < sizeof (double_tests2) / sizeof (double_tests2[0]); ++i)
+ for (i = 0; i < array_length (double_tests2); ++i)
{
double dummy;
int ret;