hooks: introduce a pre_merge hook (similar to a merge hook)
[smatch.git] / validation / extern-inline.c
blob4f12ac06f4bf5e57334a9117cbd66634e8ae3fe9
1 extern __inline__ int f(int);
3 extern __inline__ int
4 f(int x)
6 return x;
9 extern int g(int);
11 extern __inline__ int
12 g(int x)
14 return x;
19 * check-name: extern inline function
20 * check-command: sparse $file $file
21 * check-description: Extern inline function never emits stand alone copy
22 * of the function. It allows multiple such definitions in different file.