Commit ee407211 by Iain Sandoe Committed by Iain Sandoe

[testsuite] Fix bad dg-error syntax in gnu2x-attrs-1.c.

2019-11-21  Iain Sandoe  <iain@sandoe.co.uk>

	PR testsuite/92619
	* gcc.dg/gnu2x-attrs-1.c: Fix dg-error syntax.

From-SVN: r278594
parent eb548534
2019-11-21 Iain Sandoe <iain@sandoe.co.uk>
PR testsuite/92619
* gcc.dg/gnu2x-attrs-1.c: Fix dg-error syntax.
2019-11-21 Richard Sandiford <richard.sandiford@arm.com>
PR tree-optimization/92526
......
......@@ -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 } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment