1f08c3bdfSopenharmony_ciextern __inline__ int f(int); 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_ciextern __inline__ int 4f08c3bdfSopenharmony_cif(int x) 5f08c3bdfSopenharmony_ci{ 6f08c3bdfSopenharmony_ci return x; 7f08c3bdfSopenharmony_ci} 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_ciextern int g(int); 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_ciextern __inline__ int 12f08c3bdfSopenharmony_cig(int x) 13f08c3bdfSopenharmony_ci{ 14f08c3bdfSopenharmony_ci return x; 15f08c3bdfSopenharmony_ci} 16f08c3bdfSopenharmony_ci 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_ci/* 19f08c3bdfSopenharmony_ci * check-name: extern inline function 20f08c3bdfSopenharmony_ci * check-command: sparse $file $file 21f08c3bdfSopenharmony_ci * check-description: Extern inline function never emits stand alone copy 22f08c3bdfSopenharmony_ci * of the function. It allows multiple such definitions in different file. 23f08c3bdfSopenharmony_ci */ 24