From: Iain Sandoe Date: Thu, 21 Nov 2019 19:56:34 +0000 (+0000) Subject: [testsuite] Fix bad dg-error syntax in gnu2x-attrs-1.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee4072114b06ea43ab7b11289d92407b390bea3c;p=gcc.git [testsuite] Fix bad dg-error syntax in gnu2x-attrs-1.c. 2019-11-21 Iain Sandoe PR testsuite/92619 * gcc.dg/gnu2x-attrs-1.c: Fix dg-error syntax. From-SVN: r278594 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1f30ffd9ed3..7916f1a23cd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-11-21 Iain Sandoe + + PR testsuite/92619 + * gcc.dg/gnu2x-attrs-1.c: Fix dg-error syntax. + 2019-11-21 Richard Sandiford PR tree-optimization/92526 diff --git a/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c b/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c index fe7e95b4904..bc00371f466 100644 --- a/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c +++ b/gcc/testsuite/gcc.dg/gnu2x-attrs-1.c @@ -5,7 +5,7 @@ void f (void) {}; -[[gnu::alias("f")]] void g (void); /* { dg-error "only weak" *-*-darwin* } */ +[[gnu::alias("f")]] void g (void); /* { dg-error "only weak" "" { target *-*-darwin* } } */ void [[gnu::alias("f")]] h (void); /* { dg-warning "ignored" } */ /* { dg-message "that appertains to a type-specifier" "appertains" { target *-*-* } .-1 } */