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:
parent
129e921059
commit
e262dfbcf3
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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" } */
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue