summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr28706.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr28706.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr28706.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr28706.c b/gcc/testsuite/gcc.dg/pr28706.c
index 4c185af4123..1ecb8b22929 100644
--- a/gcc/testsuite/gcc.dg/pr28706.c
+++ b/gcc/testsuite/gcc.dg/pr28706.c
@@ -1,6 +1,7 @@
/* PR c/28706 */
-/* { dg-do compile } */
-/* { dg-options "--combine" } */
+/* { dg-do link } */
+/* { dg-require-effective-target lto } */
+/* { dg-options "-flto -r -nostdlib" } */
/* { dg-additional-sources "pr28706.c" } */
struct A