diff options
author | Martin Jambor <mjambor@suse.cz> | 2017-08-14 14:33:54 +0000 |
---|---|---|
committer | Martin Jambor <mjambor@suse.cz> | 2017-08-14 14:33:54 +0000 |
commit | ae281588ac673801c2890f4679a211d24e4f8e01 (patch) | |
tree | ffda4ecce65bb72e54a07d8ed2c09288fa207b43 /gcc/testsuite/gcc.dg/pr61162-2.c | |
parent | 7e05bab54f745defb749670b8c84eaf513c0b214 (diff) |
Merged trunk revision 251080 into the hsa branchhsa
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/hsa@251093 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr61162-2.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr61162-2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/pr61162-2.c b/gcc/testsuite/gcc.dg/pr61162-2.c index 1045408d736..4aa8493d1a3 100644 --- a/gcc/testsuite/gcc.dg/pr61162-2.c +++ b/gcc/testsuite/gcc.dg/pr61162-2.c @@ -8,7 +8,7 @@ struct s { int a; }; enum e fn1 (void) { - return 0; /* { dg-warning "10:enum conversion in return" } */ + return 0; /* { dg-warning "10:enum conversion from 'int' to 'enum e' in return" } */ } int @@ -26,19 +26,19 @@ fn3 (void) int fn4 (int *a) { - return a; /* { dg-warning "10:return makes integer from pointer without a cast" } */ + return a; /* { dg-warning "10:returning 'int \\*' from a function with return type 'int' makes integer from pointer without a cast" } */ } int * fn5 (int a) { - return a; /* { dg-warning "10:return makes pointer from integer without a cast" } */ + return a; /* { dg-warning "10:returning 'int' from a function with return type 'int \\*' makes pointer from integer without a cast" } */ } unsigned int * fn6 (int *i) { - return i; /* { dg-warning "10:pointer targets in return differ" } */ + return i; /* { dg-warning "10:pointer targets in returning 'int \\*' from a function with return type 'unsigned int \\*' differ" } */ } void * |