LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / vla-23.c
blob47be4123301e2aa83cf6d65332b78bca592ddd27
1 /* PR rtl-optimization/50615 */
2 /* Testcase by Zdenek Sojka <zsojka@seznam.cz> */
4 /* { dg-do compile } */
5 /* { dg-options "-O --param max-cse-insns=1" } */
7 int
8 foo (int a)
10 if (!a)
11 return 1;
14 int s[a];
15 return 0;