1 
   2 extern void myfunction(void);
   3 
   4 extern void
   5 myfunction(void)
   6 {
   7         return;
   8 }
   9 
  10 /*
  11  * check-name: -Wno-external-function-has-definition works
  12  * check-command: sparse -Wno-external-function-has-definition
  13  * check-error-start
  14  * check-error-end
  15  */