re PR c/61077 (_Atomic in the return type or argument types of main not diagnosed)
PR c/61077 * gcc.dg/pr61077.c: Use \[^\n\]* instead of .* in the regexp. From-SVN: r213084
This commit is contained in:
parent
7b7f941a96
commit
be97a9d038
@ -1,3 +1,8 @@
|
||||
2014-07-26 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c/61077
|
||||
* gcc.dg/pr61077.c: Use \[^\n\]* instead of .* in the regexp.
|
||||
|
||||
2014-07-26 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* gfortran.dg/sizeof_2.f90: Change dg-error.
|
||||
|
@ -5,8 +5,8 @@
|
||||
_Atomic int
|
||||
main (_Atomic int argc, _Atomic char **argv)
|
||||
/* { dg-warning "qualified return type" "return" { target *-*-* } 6 } */
|
||||
/* { dg-warning "qualified parameter type.*int" "parameter" { target *-*-* } 6 } */
|
||||
/* { dg-warning "qualified parameter type.*char" "parameter" { target *-*-* } 6 } */
|
||||
/* { dg-warning "qualified parameter type\[^\n\]*int" "parameter" { target *-*-* } 6 } */
|
||||
/* { dg-warning "qualified parameter type\[^\n\]*char" "parameter" { target *-*-* } 6 } */
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user