summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/gomp/pr61486-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/gomp/pr61486-2.c')
-rw-r--r--gcc/testsuite/c-c++-common/gomp/pr61486-2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/gomp/pr61486-2.c b/gcc/testsuite/c-c++-common/gomp/pr61486-2.c
index 729438101e2..55332717246 100644
--- a/gcc/testsuite/c-c++-common/gomp/pr61486-2.c
+++ b/gcc/testsuite/c-c++-common/gomp/pr61486-2.c
@@ -1,6 +1,7 @@
/* PR middle-end/61486 */
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */
+/* { dg-require-effective-target alloca } */
#pragma omp declare target
void dosomething (int *a, int n, int m);