aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c99-complex-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/c99-complex-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/c99-complex-2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/c99-complex-2.c b/gcc/testsuite/gcc.dg/c99-complex-2.c
index 078e92a..fa68a96 100644
--- a/gcc/testsuite/gcc.dg/c99-complex-2.c
+++ b/gcc/testsuite/gcc.dg/c99-complex-2.c
@@ -11,12 +11,12 @@ _Complex double
foo (_Complex double z)
{
z++; /* { dg-bogus "warning" "warning in place of error" } */
- /* { dg-error "complex" "postinc" { target *-*-* } 13 } */
+ /* { dg-error "complex" "postinc" { target *-*-* } .-1 } */
++z; /* { dg-bogus "warning" "warning in place of error" } */
- /* { dg-error "complex" "preinc" { target *-*-* } 15 } */
+ /* { dg-error "complex" "preinc" { target *-*-* } .-1 } */
z--; /* { dg-bogus "warning" "warning in place of error" } */
- /* { dg-error "complex" "postdec" { target *-*-* } 17 } */
+ /* { dg-error "complex" "postdec" { target *-*-* } .-1 } */
--z; /* { dg-bogus "warning" "warning in place of error" } */
- /* { dg-error "complex" "predec" { target *-*-* } 19 } */
+ /* { dg-error "complex" "predec" { target *-*-* } .-1 } */
return z;
}