1 // Check that __cxa_vec_[c]ctor returns a pointer to the array
2 // { dg-do run { target arm*-*-* } }
7 using namespace __cxxabiv1;
8 static __cxa_cdtor_return_type cctor (void * a, void * b)
10 *(char *) a = *(char *) b;
20 p = (char *) __cxa_vec_ctor (&data, 1, 1, NULL, NULL);
23 p = (char *) __cxa_vec_cctor (&data2, &data, 1, 1, cctor, NULL);