summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr27301.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr27301.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr27301.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr27301.c b/gcc/testsuite/gcc.dg/pr27301.c
index 3b5a8f55b5d..cc55c745a03 100644
--- a/gcc/testsuite/gcc.dg/pr27301.c
+++ b/gcc/testsuite/gcc.dg/pr27301.c
@@ -1,6 +1,7 @@
/* PR c/27301 */
/* { dg-do compile } */
/* { dg-options "-O2 -std=gnu89" } */
+/* { dg-require-effective-target alloca } */
void
foo (void *ptr, long n)