Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / noncompile / label-lineno-1.c
blob76d4d96edaf9ee7a947bf2752cc715d93fca3869
1 /* Ensure that diagnostics for labels appear on the correct lineno.
2 by Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 8/23/2000. */
4 void
5 foo(int i)
7 my_label: /* { dg-error "previous definition" "prev label" } */
9 i++;
11 my_label: /* { dg-error "duplicate label" "label lineno" } */
13 i++;