20001228-1.c: Fix for new error message.

2004-02-04  Paolo Bonzini  <bonzini@gnu.org>

	* gcc.dg/noncompile/20001228-1.c: Fix for new
	error message.

From-SVN: r77199
This commit is contained in:
Paolo Bonzini 2004-02-03 23:44:40 +00:00 committed by Geoffrey Keating
parent 129e921059
commit e262dfbcf3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-02-04 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/noncompile/20001228-1.c: Fix for new
error message.
2004-02-03 Roger Sayle <roger@eyesopen.com>
PR target/9348

View File

@ -1,6 +1,6 @@
void rof(void)
{
union { int a; } u;
for (u.a = 0; u; u.a++) /* { dg-error "invalid operand" } */
for (u.a = 0; u; u.a++) /* { dg-error "used union" } */
;
}