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