LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41470.c
blob7ef008615239c626c1318f06e1c0addac94b3614
1 /* { dg-do compile } */
2 /* { dg-options "-fexceptions" } */
3 /* { dg-require-effective-target alloca } */
5 void cf (void *);
7 void *
8 af (void *a)
10 return a;
12 void
13 bf (void)
15 void *p;
17 int i = 1;
18 char v[i];
19 p = af (v);
21 cf (p);