summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fork-instrumentation.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/fork-instrumentation.c')
-rw-r--r--gcc/testsuite/gcc.dg/fork-instrumentation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/fork-instrumentation.c b/gcc/testsuite/gcc.dg/fork-instrumentation.c
index f875e180882..aedb9ee797e 100644
--- a/gcc/testsuite/gcc.dg/fork-instrumentation.c
+++ b/gcc/testsuite/gcc.dg/fork-instrumentation.c
@@ -1,5 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O0 -fprofile-generate" } */
+/* { dg-require-profiling "-fprofile-generate" } */
+
int fork(void);
int
t()