summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/vla-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/gomp/vla-4.c')
-rw-r--r--gcc/testsuite/gcc.dg/gomp/vla-4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/gomp/vla-4.c b/gcc/testsuite/gcc.dg/gomp/vla-4.c
index 2c3c0aa43b7..e784c74058c 100644
--- a/gcc/testsuite/gcc.dg/gomp/vla-4.c
+++ b/gcc/testsuite/gcc.dg/gomp/vla-4.c
@@ -1,4 +1,5 @@
// { dg-do compile }
+/* { dg-require-effective-target alloca } */
void foo(int n, int i)
{