aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/pr43395.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/pr43395.c')
-rw-r--r--gcc/testsuite/c-c++-common/pr43395.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/c-c++-common/pr43395.c b/gcc/testsuite/c-c++-common/pr43395.c
index 92f048d..2c30634 100644
--- a/gcc/testsuite/c-c++-common/pr43395.c
+++ b/gcc/testsuite/c-c++-common/pr43395.c
@@ -6,7 +6,7 @@ foo (void)
{
lab:
return &&lab;
-/* { dg-warning "function returns address of label" "" { target c } 8 } */
+/* { dg-warning "function returns address of label" "" { target c } .-1 } */
/* { dg-warning "address of label" "" { target c++ } 7 } */
}
@@ -16,7 +16,7 @@ bar (void)
__label__ lab;
lab:
return &&lab;
-/* { dg-warning "function returns address of label" "" { target c } 18 } */
+/* { dg-warning "function returns address of label" "" { target c } .-1 } */
/* { dg-warning "address of label" "" { target c++ } 17 } */
}
@@ -25,6 +25,6 @@ baz (void)
{
int i;
return &i;
-/* { dg-warning "function returns address of local variable" "" { target c } 27 } */
+/* { dg-warning "function returns address of local variable" "" { target c } .-1 } */
/* { dg-warning "address of local variable" "" { target c++ } 26 } */
}