aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr30551.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr30551.c')
-rw-r--r--gcc/testsuite/gcc.dg/pr30551.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/pr30551.c b/gcc/testsuite/gcc.dg/pr30551.c
index 68ecded..979bcee 100644
--- a/gcc/testsuite/gcc.dg/pr30551.c
+++ b/gcc/testsuite/gcc.dg/pr30551.c
@@ -3,5 +3,5 @@
/* { dg-options "-Wall" } */
/* { dg-skip-if "-Wmain not enabled with -Wall on SPU" { spu-*-* } } */
void main(char a) {} /* { dg-warning "first argument of .main. should be .int." "int" } */
-/* { dg-warning ".main. takes only zero or two arguments" "zero or two" { target *-*-* } 5 } */
-/* { dg-warning "return type of .main. is not .int." "return type" { target *-*-* } 5 } */
+/* { dg-warning ".main. takes only zero or two arguments" "zero or two" { target *-*-* } .-1 } */
+/* { dg-warning "return type of .main. is not .int." "return type" { target *-*-* } .-2 } */