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