diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/assign-warn-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/assign-warn-2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/assign-warn-2.c b/gcc/testsuite/gcc.dg/assign-warn-2.c index 0ef6ebe..4656961 100644 --- a/gcc/testsuite/gcc.dg/assign-warn-2.c +++ b/gcc/testsuite/gcc.dg/assign-warn-2.c @@ -122,3 +122,4 @@ TESTARP(istrb, int, struct s); /* { dg-error "incompatible type for argument 1 o TESTASS(istrc, int, struct s); /* { dg-error "incompatible types in assignment" } */ TESTINI(istrd, int, struct s); /* { dg-error "incompatible types in initialization" } */ TESTRET(istre, int, struct s); /* { dg-error "incompatible types in return" } */ +/* { dg-message "note: expected '\[^'\n\]*' but argument is of type '\[^'\n\]*'" "note: expected" { target *-*-* } 0 } */ |