On Tue, 2008-09-16 at 13:37 -0700, Jason Merrill wrote:
Jakub Jelinek wrote:
+void
+foo (_Decimal32) // { dg-error "declared void" }
+{
+}
+ // { dg-error "was not declared" "" { target *-*-* } 5 }
This could also be written as
{ dg-error "declared void|was not declared" }
OK with or without that change.
Please keep them separate, I'm moving the C++ tests over to the
stricter versions of dg-error/dg-warning that the C tests have
been using for awhile and each message will need a separate test
directive.