From 52eb122bd4f0384d023175a9e7ac3aba77484177 Mon Sep 17 00:00:00 2001 From: mpolacek Date: Sat, 26 Jul 2014 16:33:19 +0000 Subject: [PATCH] PR c/61077 * gcc.dg/pr61077.c: Use \[^\n\]* instead of .* in the regexp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213084 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr61077.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e007f31a782..9575f076f81 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-07-26 Marek Polacek + + PR c/61077 + * gcc.dg/pr61077.c: Use \[^\n\]* instead of .* in the regexp. + 2014-07-26 Tobias Burnus * gfortran.dg/sizeof_2.f90: Change dg-error. diff --git a/gcc/testsuite/gcc.dg/pr61077.c b/gcc/testsuite/gcc.dg/pr61077.c index c0513f71f70..e29f23cce51 100644 --- a/gcc/testsuite/gcc.dg/pr61077.c +++ b/gcc/testsuite/gcc.dg/pr61077.c @@ -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; } -- 2.11.4.GIT