summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/noncompile/20001228-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/noncompile/20001228-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/noncompile/20001228-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/noncompile/20001228-1.c b/gcc/testsuite/gcc.dg/noncompile/20001228-1.c
index 79efe117aac..73a44a859a5 100644
--- a/gcc/testsuite/gcc.dg/noncompile/20001228-1.c
+++ b/gcc/testsuite/gcc.dg/noncompile/20001228-1.c
@@ -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" } */
;
}