1*c85f09ccSJohn Levon extern unsigned long l; 2*c85f09ccSJohn Levon foo(void)3*c85f09ccSJohn Levonint foo(void) { 4*c85f09ccSJohn Levon return (int) (typeof(fundecl(0))) l; 5*c85f09ccSJohn Levon } 6*c85f09ccSJohn Levon 7*c85f09ccSJohn Levon /* 8*c85f09ccSJohn Levon * check-name: cast-bad 01 9*c85f09ccSJohn Levon * 10*c85f09ccSJohn Levon * check-error-start 11*c85f09ccSJohn Levon cast-bad-01.c:4:30: error: undefined identifier 'fundecl' 12*c85f09ccSJohn Levon * check-error-end 13*c85f09ccSJohn Levon */ 14