summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr37742.C
blob: 2bbb01723fbe6f0b5548809c827f2f7ccc9f8fec (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */

__extension__ typedef __SIZE_TYPE__ size_t;
void*   __valarray_get_memory(size_t __n);
int*__restrict__
__valarray_get_storage(size_t __n)
{
  return static_cast<int* __restrict__>(__valarray_get_memory(__n));
}