summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/constructor-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/constructor-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/constructor-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/constructor-1.c b/gcc/testsuite/gcc.dg/constructor-1.c
index 1095a455cfa..73e9fc32007 100644
--- a/gcc/testsuite/gcc.dg/constructor-1.c
+++ b/gcc/testsuite/gcc.dg/constructor-1.c
@@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O2" } */
+/* { dg-skip-if "" { ! global_constructor } { "*" } { "" } } */
/* The ipa-split pass pulls the body of the if(!x) block
into a separate function to make foo a better inlining