2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / noncompile / 990416-1.c
blob6b69ead2fe165e80f07e7dbc6fa4822be32ff125
1 typedef int word_type;
3 static void
4 copy_reg (unsigned int reg, frame_state *udata, /* { dg-error "parse|syntax" } */
5 frame_state *target_udata)
6 {
7 word_type *preg = get_reg_addr (reg, udata, 0); /* { dg-error "undeclared|function|without a cast" } */
8 word_type *ptreg = get_reg_addr (reg, target_udata, 0); /* { dg-error "undeclared|without a cast" } */
10 memcpy (ptreg, preg, __builtin_dwarf_reg_size (reg));