1*c85f09ccSJohn Levon extern void fun(void); 2*c85f09ccSJohn Levon foo(int p)3*c85f09ccSJohn Levonstatic void foo(int p) 4*c85f09ccSJohn Levon { 5*c85f09ccSJohn Levon l: 6*c85f09ccSJohn Levon if (p) 7*c85f09ccSJohn Levon l: 8*c85f09ccSJohn Levon fun(); 9*c85f09ccSJohn Levon } 10*c85f09ccSJohn Levon 11*c85f09ccSJohn Levon /* 12*c85f09ccSJohn Levon * check-name: label-redefined 13*c85f09ccSJohn Levon * 14*c85f09ccSJohn Levon * check-error-start 15*c85f09ccSJohn Levon label-redefined.c:7:1: error: label 'l' redefined 16*c85f09ccSJohn Levon * check-error-end 17*c85f09ccSJohn Levon */ 18